similar to: Rcommander en español

Displaying 20 results from an estimated 1000 matches similar to: "Rcommander en español"

2009 Aug 10
3
Pregunta sencilla
Estimados me ha surgido una duda con un simple stem and leaf el mismo es el siguiente: > stem.leaf(Datos$ej1.21) 1 | 2: represents 0.12 leaf unit: 0.01 n: 40 LO: 0.72 0.85 3 10 | 9 11 | 4 12 | 4 5 13 | 7 7 14 | 710 (*) 9 15 | 18 16 16 | 3447899 (6) 17 | 045599 (***) 18 18 | 2568 14 19 | 23710 (**) 10 20 | 389 7 21
2010 May 04
4
Contar rachas en una matriz
Buen día a todos el problema que tengo es el siguiente: tengo una matriz 0 0 0 1 5 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 6 0 0 0 0 0 0 0 0 0 1 4 0 1 0 7 2 9 0 1 necesito hacer el primer conteo de números hasta que encuentre el primer cero. para la fila 1: tiene 1 y 5 son dos elementos fila 2: solo tiene 1 elemento fila 3: tiene 1 fila 4: 1 y 6 dos elementos fila 5: no tiene elementos distintos de
2009 Aug 12
2
Como imponer una matriz de correlaciones en un modelo mixto?
Hola, mi pregunta es la siguiente: Tengo un modelo genético aditivo, donde los individuos estan emparentados. Quiero que la matriz de parentesco sea la matriz de coeficientes de las correlaciones entre genotipos. En SAS, con PROC MIxed podia agregarla como un archivo y usarla en la sentencia random...No encuentro como hacerlo en R, alguna idea?? En resumen, puedo imponerle a los efectos
2010 Feb 17
2
Split Plot and Tukey
Hi, I did the analysis of variance of a split-plot and the effect of treatment was significant. I would like compare treatment means using Tukey. I can't extract the mean square to apply HSD.test to use in agricolae package. anava = aov(ganhos ~ Blocos + Trat*Supl + Error(Blocos/Trat)) names(anava) summary(anava) require(agricolae) HSD.test(ganhos, Trat, df, MSerror, alpha = 0.05)
2009 Nov 24
1
extraer un valor de un objeto lmer
> > Hola, a todos! Estoy ajustando un modelo componentes de varianza utilizando el paquete lme4, quiero extraer luego los valores estimados de varianza de cada factor aleatorio de este objeto lmer y guardarlo en un vector. Existe la función VarCorr, Esto es lo que hago: Mi ejemplo: tengo 3 factores NDVIaño; Máx.IH; TV # Ajusto el modelos lmer(peligro100 ~ 1 + (1|NDVIaño) + (1|Máx.IH) +
2009 Nov 02
5
Optimizar código
Hola lista, tengo una base de datos muy grande de un datalogger. Consiste en un vector con 0's y 1's, y tengo que ver cuando hay 600 o más unos seguidos. Se me ocurrió hacerlo con un loop for. Pero tarda demasiado. También intente usar which para que seleccione solo los 1 para empezar a sumar pero no hay gran diferencia. A alguien se le ocurre alguna solución para hacerlo más rápido? Acá
2009 Oct 20
2
LDA Precdict - Seems to be predicting on the Training Data
When I import a simple dataset, run LDA, and then try to use the model to forecast out of sample data, I get a forecast for the training set not the out of sample set. Others have posted this question, but I do not see the answers to their posts. Here is some sample data: Date Names v1 v2 v3 c1 1/31/2009 Name1 0.714472361 0.902552278 0.783353694 a 1/31/2009 Name2 0.512158919 0.770451596
2011 Oct 11
4
apply
Nuevamente necesito ayuda, parece que en lugar de aprender ¿desaprendo? Es un problema sencillo, cosas que uno ya hacía y ahora por arte de magia no salen. Se trata sobre apply (esta vez no intente con programación). La intención es crear una columna en el data.frame donde coloco palabras o NA, de acuerdo a una columna donde está todo codificado. Posiblemente se entiende mejor copiando y pegando
2009 Sep 25
2
Letra cursiva en legend()
Buenas tardes para todos, Consideren la siguiente gráfica: # Algunos datos set.seed(123) D <- matrix(rnorm(100), ncol = 2) # Gráfico matplot(D, type = ''l'', lty = 1, col = c(3,4), las = 1, xlab = "Observación", ylab = ''Valores'') # Leyenda legend(''topleft'', c(''A1'',''A2''), text.col =
2004 Feb 17
3
parse error in GLMM function
Hi R-Helpers: I?m trying to use the function GLMM from lme4 package, (R-1.8.1, Windows 98),and I get the following error: > pd5 = GLMM(nplant~sitio+ + fert+ + remo+ + sitio:fert+ + remo:sitio+ + remo:fert+ + remo:fert:sitio + data=datos, + family=binomial, +
2011 Sep 09
2
Interrogante
Buenas noches Quisiera saber como hago para sacar el valor p de esta lista. He intentado como b$Pr(>F) pero no lo he logrado str(b) List of 1 $ :Classes ‘anova’ and ''data.frame'': 2 obs. of 5 variables: ..$ Df : num [1:2] 1 18 ..$ Sum Sq : num [1:2] 0.000155 0.00058 ..$ Mean Sq: num [1:2] 1.55e-04 3.22e-05 ..$ F value: num [1:2] 4.82 NA ..$ Pr(>F) : num
2003 Oct 23
3
List of lm objects
Hi R-Helpers: I?m trying to fit the same linear model to a bunch of variables in a data frame, so I was trying to adapt the codes John Fox, Spencer Graves and Peter Dalgaard proposed and discused yesterday on this e-mail list: for (y in df[, 3:5]) { mod = lm(y ~ Trt*Dose, data = x, contrasts = list(Trt = contr.sum, Dose = contr.sum)) Anova(mod, type = "III") } ## by John Fox or for
2010 Apr 23
3
5. Re: Leer datos de Unicode (Juan JosŽé Vidal Agust’ín)
Estimados: Yo tengo un archivo de texto Unicode y no funciona read.table con encoding Latin-1 o UTF-8 estando en un entorno Windows. Si no es con ninguno de los anteriores, ¿como lo importo? ¿Cómo puedo saber que codificación tiene? Gracias, Sebastián. El día 22 de abril de 2010 07:00, <r-help-es-request en r-project.org> escribió: > Envíe los mensajes para la lista R-help-es a
2009 Aug 18
6
Eliminar variable de un data frame
Hola, que tal? Tendo una duda, como se puede eliminar una variable de un data.frame? Tambien tengo otra duda, tengo una base de datos importada del spss, donde tengo espacios asignados como missings, pero al pasarlo al R, me coje los espacios como una categoria más. Como los puedo poner como missings? Dolors Giralt _________________________________________________________________ [[elided
2008 Jul 23
0
Fw: Using if, else statements
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: "Gabriela Cendoya" <gcendoya at balcarce.inta.gov.ar> To: "Robin Williams" <>
2010 Feb 04
3
Legend symbol?
Hello, I am creating a plot/image using different data and a couple fit lines (see attached image). In the legend, I want the Default and Exponential symbol to be a line. I am using the pch command, I tried to use "-" to represent a line but does not work so I currently have set as a "1". Any thoughts or suggestions would be greatly appreciated. Below are the commands
2010 Sep 24
7
help
Estimados Escribo para consultar sobre el uso de modelos mixtos anidados. Los datos que estoy analizando provienen de censos de malezas en cuatro tipos de paisajes de la región pampeana, en los que seleccioné al azar igual número de lotes agrícolas cultivados con tres cultivos (maíz, soja y trigo-soja). En cada lote censé el número de especies de malezas en tres posiciones: el alambrado, el borde
2003 Sep 01
1
Gram-Schmidt orthonormal factorization
Hi: Does R have a function as gsorth is SAS, that perform a the Gram-Schmidt orthonormal factorization of the m ?n matrix A, where m is greater than or equal to n? That is, the GSORTH subroutine in SAS computes the column-orthonormal m ?n matrix P and the upper triangular n ?n matrix T such that A = P*T. or any other version of Gram-Schmidt orthonormal factorization? I search the help, but I
2005 Jun 13
1
Warning messages in lmer function (package lme4)
Hi: I'm using function lmer from package lme4, and I get this message: " There were 12 warnings (use warnings() to see them)" So I checked them: Warnings 1 to 11 said: 1: optim returned message ERROR: ABNORMAL_TERMINATION_IN_LNSRCH in: "LMEoptimize<-"(`*tmp*`, value = structure(list(maxIter = 50, ... and Warning 12 said: 12: IRLS iterations for glmm did
2011 Nov 23
9
which en un data.frame de caracteres?
Hola a todos, Tengo un "data.frame" de algunas columnas, el cual contiene objetos de tipo "character". Me interesa encontrar las coordendas de un cierto objeto dentro del "data.frame". Eso para arrays o para matrices lo hago con la función which(). Pero no consigo hacerlo para esta caso ¿alguna sugerencia para realizarlo sin tener que utilizar bucles? Gracias por