Displaying 20 results from an estimated 11000 matches similar to: "latex expression"
2005 Nov 15
1
latex table and R codes
Dear R-help assistance;
may you help me regrding to following inquiry!?
you know what, i have generated three tables by xtable R function, right
now i am trying to make a single table by putting these tables
togethere; actully i am going to come upt with *.tex (latex) file.
because i have more extera non-R material, i am using Sweave to read R
instructions, and finally i hope to end up with a
2006 Dec 10
4
sample "n" random positions from a matrix
Hi there,
I have a binary matrix (dim 100x100) filled with values 0 and 1. I need select a record "n" positions of that matrix when values are 1. How can I do that?
Thanks for all,
Miltinho
Brazil
---------------------------------
[[alternative HTML version deleted]]
2011 Jan 24
2
Help with expression
I have a problem with expressions. I am trying to create a title where
the parameter of interest is displayed as a Greek character. Which
parameter is being considered is stored in a character variable.
As an example, if I have
param <- "alpha"
and then do
plot(0, 0, main = bquote(Parameter==.(param)))
then in the title I get "Parameter = alpha",
whereas I want the
2006 Dec 31
4
Does SQL group by have a heavy duty equivalent in R
I have hundreds of humans who have undergone SNP genotyping at hundreds of
loci. Some have even undergone the procedure twice or thrice (kind of an
internal control).
So obviously I need to find those replications, and confirm that the results
are the same. If there is discordance then I need to address it.
I tried to use the aggregate function
nr.attempts
2010 Sep 30
2
Sweave and LaTeX beamer class
I am failing to uncover Sweave chunks step by step using the LaTeX beamer
class.
The following minimal example:
\documentclass{beamer}
\usepackage{Sweave}
\begin{document}
\begin{frame}[fragile]
In the year \uncover<2->{25}\uncover<3->{\Sexpr{5*5}}
\uncover<4->{
<<echo=TRUE, print=TRUE>>=
5*5*101
@
}
\end{frame}
\end{document}
leads to an error message when
2006 May 12
4
bitwise addition
Hello all again,
I want to do bitwise addition in R. I am trying to generate a matrix
0000
0001
0010
....
....
1111
I know the other ways of generating this matrix but I need to look at bitwise
addition.
Any suggestions???
thanks a lot
Nameeta
-------------------------------------------------
This email is intended only for the use of the individual or...{{dropped}}
2011 Jan 07
2
survval analysis microarray expression data
For any given pre-specified gene or short list of genes, yes the Cox
model works fine. Two important caveats:
1. Remeber the rule of thumb for a Cox model of 20 events per variable
(not n=20). Many microarray studies will have very marginal sample
size.
2. If you are looking at many genes then a completely different strategy
is required. There is a large and growing literature; I like Newton
2005 Jan 12
2
?"=" (Windows) (PR#7504)
?"=", ?"==", ?"!=", ?">=", and ?"<=" sends me to the documentation for
?help on Windows, while returning the correct documentation on Linux.
Robert
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor
2006 Dec 14
5
persistant: Matlab->R
Dear list members,
Could anyone tell me if there is an equivalent of the Matlab declaration 'persistant' in R?
Thank you very much,
Bernard Gregorry.
(Matlaber converted to R).
---------------------------------
[[alternative HTML version deleted]]
2010 Jun 26
3
converting result of substitute to 'ordidnary' expression
Dear R users,
As substitute() help page points out:
Substituting and quoting often causes confusion when the argument
is 'expression(...)'. The result is a call to the 'expression'
constructor function and needs to be evaluated with 'eval' to give
the actual expression object.
And indeed I am confused. Consider:
> dat <- data.frame(x=1:10,
2010 Jun 26
3
converting result of substitute to 'ordidnary' expression
Dear R users,
As substitute() help page points out:
Substituting and quoting often causes confusion when the argument
is 'expression(...)'. The result is a call to the 'expression'
constructor function and needs to be evaluated with 'eval' to give
the actual expression object.
And indeed I am confused. Consider:
> dat <- data.frame(x=1:10,
2006 Jan 16
3
37s style modularization ?
Hello all,
I remember and have lost a link to the blog on hints about 37s
modularization of basecamp, backpack, etc.
Anyone remeber this and can remind me of the link?
Thanks !
--
------------------------------
Forget the icing. Bake the cake!
- the epicentered developer
------------------------------
Peter Fitzgibbons
-------------- next part --------------
An HTML attachment was
2008 Nov 02
5
R newbie: how to replace string/regular expression
Hello;
I am a R newbie and would like to know correct and efficient method for
doing string replacement.
I have a large data set, where I want to replace character "M", "b",
and "K" (currency in Million, Billion and K) to millions. That is
209.7B with (209.7 * 10e6) and 100.00K with (100.00 *1/100)
and etc..
d <- c("120.0M", "11.01m",
2005 Mar 09
3
R-2.0.1 Gentoo g77 problem
Hello,
I use Gentoo and I can't get R 2.0.1 to compile. I used the portage system, Gentoo's source package sytem, and after it uncompresses the source to R, it says that I don't have a fortran compiler. It told me to use f77 flag and re-emerge gcc, which I did with the f77 and fortran flags, but it still won't compile. Does anyone have any ideas? I suspect that gcc has changed
2006 Dec 12
1
Calculating AICc using conditional logistic regression
I have a case-control study that I'm analysing using the conditional
logistic regression function clogit from the survival package.
I would like to calculate the AICc of the models I fit using clogit.
I have a variety of scripts that can calculate AICc for models with a
logLik method, but clogit does not appear to use this method.
Is there a way I can calculate AICc from clogit in R?
Many
2006 Nov 30
1
analog to the matlab buffer function?
Hello!
I am new to R. I could not find a function analogous to matlab's function buffer, which is used in signal processing. Is there such a function in R?
What I need to do is as follows. If I apply the function to the vector c(1:5) for example with a window length 3 and overlapping 2, I need to get a matrix like this:
1 2 3
2 3 4
3 4 5
In matlab this is achieved with the function buffer. Is
2006 Apr 27
1
R interface to ImageMagick
Hi,
I was wondering if anyone is aware of an R interface to ImageMagick
(www.imagemagick.org)? Since R does not support a lot of image processing
functions, having such an interface could be very useful. Alternatively,
ImageMagick has a couple of different interfaces (including to C and C++). I
was wondering if one can use these to call ImageMagick functions from R.
I am posting a similar
2006 May 16
1
Size of observations
Hi All
I had to assure the randomness of backgammon game's two dices.
I took 8,000,000 observations and found that one of the dices is not uniform
distributed.
I took 80,000,000 observations and found that the dice is uniform
distributed.
In both tests I used Pearson Chi Square test.
My questions:
1. How many observations should I take?
2. How much the 80,000,000
2006 May 23
2
Statistical Power
How can I compute a power analysis on a multi-factor within-subjects
design?
2006 Jun 09
1
Mod function?
Hi Folks!
I need to execute a piece of R code inside a loop, say, every fourth
time my counter increases (it increases by 1 unit each time.)
Is there any sort of mod function in R to do this? Or is this done some
other way? Many thanks!
Best,
john
[[alternative HTML version deleted]]