Displaying 20 results from an estimated 46 matches for "rdls".
Did you mean:
rbls
2012 Jul 02
5
ggplot: dodge positions
Dear all,
I want to get a series of boxplots (grouped by two factors) and I want to overlay the original observations and the following code does almost what I want:
library(ggplot)
ddf <- data.frame(x=factor(rep(LETTERS[1:4], each=30)), y = runif(120,0,10), grp = factor(rep(rep(1:3, 10), 4)))
ggplot(ddf, aes(x, y, colour=grp)) + geom_boxplot() + geom_point()
Yet the position of the points
2002 Nov 07
4
Preferable contrasts?
...9
factor(PRO)0:factor(PRE)0 -0.770 0.463 0.431 -1.789 0.074
...
What would the experts recommend?
Kind regards,
Dominik
Dominik Grathwohl
Biostatistician
Nestl? Research Center
PO Box 44, CH-1000 Lausanne 26
Phone: + 41 21 785 8034
Fax: + 41 21 785 8556
e-mail: dominik.grathwohl at rdls.nestle.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-re...
2003 Jul 03
2
Bug in plotting groupedData-objects
...oblem seems to be some interaction with groupedData objects and
graphic drivers.
# Any hind is appreciated
# Regards,
# Dominik
Dominik Grathwohl
Biostatistician
Nestl? Research Center
PO Box 44, CH-1000 Lausanne 26
Phone: + 41 21 785 8034
Fax: + 41 21 785 8556
e-mail: dominik.grathwohl at rdls.nestle.com
2003 Sep 01
3
How to free memory used by R.
Hi,
I want to free memory used by R. The usage of rm and gc give no result. I'm
running an algorithm consuming a huge memory and I need to recover the
memory used by R between 2 call of my algorithm.
Thank you in advance for your help.
e-mail: sofiane.lariani at rdls.nestle.com
Sofiane Lariani
2002 Oct 09
3
proc mixed vs. lme
...orr( fm1Weight )
Subj = pdLogChol(1)
Variance StdDev
(Intercept) 9.604662 3.099139
Residual 1.187553 1.089749
Dominik Grathwohl
Biostatistician
Nestl? Research Center
PO Box 44, CH-1000 Lausanne 26
Phone: + 41 21 785 8034
Fax: + 41 21 785 8556
e-mail: dominik.grathwohl at rdls.nestle.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-req...
2002 Sep 23
2
R crash with internet2.dll
...t.dll, to avoid the entire
proxy configuration.
Doing so, R crashes!
What is wrong with internet2.dll?
Kind regards,
Dominik
Dominik Grathwohl
Biostatistician
Nestl? Research Center
PO Box 44, CH-1000 Lausanne 26
Phone: + 41 21 785 8034
Fax: + 41 21 785 8556
e-mail: dominik.grathwohl at rdls.nestle.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-re...
2002 Oct 09
3
Summary: proc mixed vs. lme
Summary: proc mixed vs. lme
The objective of this summary is to help people
to get more familiar with the specification of
random effects with proc mixed or lme.
Very useful are the examples of Ramon Littell's book:
"SAS System for Mixed Models (1996)"
(http://ftp.sas.com/samples/A55235)
The same data set's are kindly made available
by Douglas Bates in the
2002 Nov 06
1
estimate statement?
...x1*x2 -0.5 -0.5 0.5 0.5;
estimate 'x2' x2 -1 1 x1*x2 -0.5 0.5 -0.5 0.5;
run;
Thanks for the help,
Dominik
Dominik Grathwohl
Biostatistician
Nestl? Research Center
PO Box 44, CH-1000 Lausanne 26
Phone: + 41 21 785 8034
Fax: + 41 21 785 8556
e-mail: dominik.grathwohl at rdls.nestle.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-re...
2010 May 04
1
Lazy evaluation in function call
Hi everybody,
how is it possible to refer to an argument passed to a function in the
function call? What I like to do, is something like
f <- function(x,y) x+y
f(2, x) # should give 4
The problem is of course that x is only known inside the function. Of course I
could specify something like
f(z<-2,z)
but I'm just curious whether it is possible to use a fancy combination of
eval,
2010 Aug 30
1
lattice: limits in reversed order with relation="same"
Hi everybody,
I want an x-axis which has xlim=c(max, min) rather than xlim=c(min, max)
in order to reflect the type of the process (cooling):
library(lattice)
myprepanel <- function(x,y,...) list(xlim=rev(range(x)))
x <- rep(1:10, 100)
z <- factor(sample(10, 1000, T))
y <- rnorm(1000, x, as.numeric(z))
xyplot(y~x|z, scales=list(x="free"), prepanel=myprepanel)
This works
2011 Oct 21
1
droplevels: drops contrasts as well
Dear all,
Today I figured out that there is a neat function called droplevels,
which, well, drops unused levels in a data frame. I tried the function
with some of my data sets and it turned out that not only the unused
levels were dropped but also the contrasts I set via "C". I had a look
into the code, and this behaviour arises from the fact that droplevels
uses simply factor to drop
1999 Jul 07
1
Linear Models with positive coefficients?
Hi,
is it possible in one of the libraries on linear methods to constrain
the coefficients to
be positive?
Thanks
Chris
--
Christoph M. Friedrich | mailto:friedrich at computer.org
Gesellschaft f?r Modulfermenterbau mbH (GfM mbH) |
http://www.tussy.uni-wh.de/~chris
Alfred-Herrhausen Str. 44 ; D-58455 Witten, Germany
2011 Jan 05
1
Minimum of an ordered factor
Hi everybody,
Is there a particular reason, why this code does not work as intended:
z <- factor(LETTERS[1:3], ordered = TRUE)
u <- 4:6
min(z[u > 4])
Error in Summary.factor(2:3, na.rm = FALSE) :
min not meaningful for factors
I agree that min is indeed not meaningful for not ordered factors, but
it makes sense for ordered factors. Especially since
z[3] <
2010 Dec 13
1
predict.lm[e] with formula passed as a variable
Dear all,
In a function I paste a string and convert it to a formula which I pass
to lm[e]. The idea is to write a function which takes the name of the
response variable and the explanatory variable and the data frame as an
argument and calculates an lm[e]. (see example below)
This works fine, but if I want to make a prediction on this model, R
complains that the object holding the formula
2003 Dec 19
1
problem with rm.impute of the Design library
Hello,
I'm using:
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 8.1
year 2003
month 11
day 21
language R
and I get the following error with:
library(Design)
df <- list(pre=c(0,, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1,
2012 Oct 31
1
aggregate.formula: formula from string
Dear all,
I want to use aggregate.formula to conveniently summarize a data.frame. I have quiet some variables in the data.frame and thus I don't want to write all these names by hand, but instead create them on the fly. This approach has the advantage that if there will be even more columns in the data.frame I don't have to change the code.
I've hence tried to construct a formula
2005 Aug 05
3
Help, my RGui is speaking French!
Dear R-helpers,
First of all I have nothing against the French language!
But now my problem, yesterday I installed R 2.1.1
and I had to experience that my RGui is speaking French.
My windows locals is French (Switzerland).
I'm used to English and I want to reset my RGui to English.
I was seeking for the solution in the archives,
however not successfully.
By the way the searchable archives
2010 Aug 23
2
Sum a list of tables
Hi all,
In R it is possible to sum tables:
> (a <- table(rep(1:3, sample(10,3))))
1 2 3
2 5 7
> a+a
1 2 3
4 10 14
Now suppose that I have a list of tables, where each table counts the
same things
> k <- list(a,a,a)
How can I sum all tables in k?
> do.call(sum, k)
[1] 42
does not work since it sums over each table.
> do.call(`+`, list(a,a))
1 2 3
4 10
2002 Oct 21
4
mixed effect-models
Hello,
?
I believe that in R, it is not possible to analyze mixed effect-models
when the distribucion is not gaussian (p.e. binomial or poisson), isn't?
?
Somebody can suggest me alternative?
?
thanks
?
xavi
?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2012 Dec 10
1
Sweep out control
Dear all,
Assume that I have the following data structure:
d <- expand.grid(subj=1:5, time=1:3, treatment=LETTERS[1:3])
d$value <- 10 ^ (as.numeric(d$treatment) + 1) + 10 * d$subj + d$time
d$value2 <- 100000 + d$value
where d$treatment == "C" stands for my control group. What I want to achieve now is to subtract the values corresponding to d$treatment == "C" from