Re: [R] Help with apply

2010-10-04 Thread Gabriela Cendoya
sycho_1.6 statmod_1.4.6 > lattice_0.17-26 gdata_2.8.0 > > loaded via a namespace (and not attached): > [1] grid_2.10.1 gtools_2.6.2 tools_2.10.1 > > [[alternative HTML version deleted]] > > __

Re: [R] Table with different digit number

2010-09-28 Thread Gabriela Cendoya
lp@r-project.org 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. > -- _ Lic. María Gabriela Cendoya Magís

[R] missing package tensorA

2010-09-21 Thread Gabriela Cendoya
Hi: I was trying to download the package MCMCglmm and it give me this message: Aviso: dependency ‘tensorA’ is not available probando la URL 'http://www.vps.fmvz.usp.br/CRAN/bin/windows64/contrib/2.11/MCMCglmm_2.06.zip' Content type 'application/zip' length 8988896 bytes (8.6 Mb) URL abierta downlo

Re: [R] Split Plot and Tukey

2010-02-17 Thread Gabriela Cendoya
df , MSerror, alpha = 0.05) Gabriela __ Lic. María Gabriela Cendoya Magíster en Biometría Profesor Adjunto Cátedra de Estadística y Diseño Facultad de Ciencias Agrarias Universidad Nacional de Mar del Plata __ - Original Message - F

Re: [R] Legend symbol?

2010-02-04 Thread Gabriela Cendoya
Hi: not the best solution but, what about pch=45 or pch =47 ? Gabriela - Original Message - From: "Douglas M. Hultstrand" To: "R mailing list" Sent: Thursday, February 04, 2010 4:59 PM Subject: [R] Legend symbol? Hello, I am creating a plot/image using different data and a couple

Re: [R] LDA Precdict - Seems to be predicting on the Training Data

2009-10-20 Thread Gabriela Cendoya
] train2 <- train[,3:5] fit <- lda(train2,train$c1) forecast <- predict(fit,outOfSample)$class length(forecast) [1] 6 Seems that the problem arise when predict.lda works on lda fit applied to a formula class object. Hope this help, Gabriela. __ L

[R] Fw: Using if, else statements

2008-07-23 Thread Gabriela Cendoya
Sorry in the previos replay I forgot monday' scale so weight should be: weight <- c(0.91,1,1,1,1,1.21,1.22) names(weight) <- c("mon","tue","wed","thu","fri","sat","sun") - Original Message - From: "

Re: [R] Using if, else statements

2008-07-23 Thread Gabriela Cendoya
Hi Robin: I think you can avoid the loops doing this: my.df<-data.frame(d.o.w=sample(c("mon","sat","sun"), 20, replace=T), admissions=rnorm(20)) weight <- c(1,1,1,1,1,1.21,1.22) names(weight) <- c("mon","tue","wed","thu","fri","sat","sun") my.df$NewAdm <- my.df$admissions * w