> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
===
Are your sure your second solution does not work? Try again...
Evan Cooch wrote:
> When I have to enter a very large matrix into the R console, I can make
> use of the continuation feature in the console to enter the matrix in
> pieces (e.g., on a row by row basis). So, for example, the console
what about:
b <- rbind(1*(a==1),1*(a==2),1*(a==3))
z s wrote:
> Hi,
>
> I am trying to convert a variable a = sample(1:3,100,rep = T) represents
> choices into a 3X100 dummy varible b with corresponding element set to 1
> otherwise 0.
> eg.
>
> a: 1 3 2 1 2 3 1 1
>
> b: 1 0 0 1 0 0 1 1
see
plot(y~x,type="s")
Öhagen Patrik wrote:
> Dear All, Sorry for spamming you with something trivial. I would like to plot
> a "stepwise increasing function" (if that makes sense? See crude ASCHII art
> below). I think there is some clever paramter for solving the problem but I
> just cannot f
boxplot does not use the actual values of aa as x-value, but considers
aa as a factor having three levels.
Try
bxp <- boxplot(bb~aa, data=nn)
bxp
to see what the boxplot actually is.
For your lines you should also use three levels.
aa2<-c(1,1,1,1,2,2,2,2,3,3,3,3,3,3,3)
points(cc~aa2)
(after y
see
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/68585.html
Georg Otto wrote:
> Hi,
>
> I would like to place a legend outside a plotting area. Could anybody
> give me a hint how this is done?
>
> Cheers,
>
> Georg
>
> __
> R-help@stat.math.ethz.c
Dear members,
I would like to switch from nlme to lme4 and try to translate some of my
models that worked fine with lme.
I have problems with the pdMat classes.
Below a toy dataset with a fixed effect F and a random effect R. I gave
also 2 similar lme models.
The one containing pdLogChol (lme1)
Dear all,
OS: x86_64-suse-linux 9.2
CPU: Intel(R) Xeon(TM) CPU 3.20GHz
R-version: R-2.1.0
I've started using a new Linux server, upgraded at the same time to
R-2.1.0 (see above) and have problems with some elementary analysis that
ran without a problem on my previous configuration.
anova.glm giv