Displaying 9 results from an estimated 9 matches similar to: "extract values"
2013 Mar 13
2
merge datas
Hello all!
I have a problem with R. I try to merge data like this:
structure(c(2.1785, 1.868, 2.1855, 2.5175, 2.025, 2.435, 1.809,
1.628, 1.327, 1.3485, 1.4335, 2.052, 2.2465, 2.151, 1.7945, 1.79,
1.6055, 1.616, 1.633, 1.665, 2.002, 2.152, 1.736, 1.7985, 1.9155,
1.7135, 1.548, 1.568, 1.713, 2.079, 1.875, 2.12, 2.072, 1.906,
1.4645, 1.3025, 1.407, 1.5445, 1.437, 1.463, 1.5235, 1.609, 1.738,
1.478,
2008 Jul 03
3
apply with a division
Hi,
I'd like to normalize a dataset by dividing each row by the first row.
Very simple, right?
I tried this:
> expt.fluor
X1 X2 X3
1 124 120 134
2 165 163 174
3 52 51 43
4 179 171 166
5 239 238 235
>first.row <- expt.fluor[1,]
> normed <- apply(expt.fluor, 1, function(r) {r / first.row})
>normed
[[1]]
X1 X2 X3
1 1 1 1
[[2]]
X1 X2 X3
1
2013 Oct 18
2
pamer.fnc y la nueva versión de R
Javier,
Creo que aquí aplica la ley de Linus que dice: "Dado un número
suficientemente elevado de ojos, todos los errores se convierten en
obvios". La persona que revisa y encuentra un error no necesariamente
tiene que ser la misma que la que lo escribe. Una motivación muy importante
al compartir un código es la de recibir los beneficios del control de
calidad por parte de tus pares.
2012 Sep 05
0
model.table (anova)
Hello everybody,
I have a problem with the model.table of anova.
I have data (datos2) with 4 cluster (V7), calculated with daisy and hclust.
str(datos2)
'data.frame': 56 obs. of 7 variables:
$ Estacion: Factor w/ 56 levels "Abradelo","AltoDoRodicio",..: 1 2 3 4 5 6
7 8 9 10 ...
$ Invierno: num 36 53.9 37.1 63.6 12.5 ...
$ X : int 643449 616292 562796
2013 Oct 18
0
pamer.fnc y la nueva versión de R
Gracias a todos por las recomendaciones. Ya me he puesto en contacto con el
autor y le explicado donde esta el error. Es tan fácil como que han
cambiado la estructura de los objetos tipos lmer desde la versión 2.15.3
con lo que su paquete dejo de funcionar. Por suerte la nueva estructura
conserva por lo menos la parte necesaria para hacer sus funciones. Se
localizar el fallo y como arreglarlo, lo
2013 Dec 02
1
pamer.fnc y la nueva versión de R
Hace unos meses os escribir para comunicaros que había un fallo en esta
función. Como os prometí os comento la respuesta por si alguno está
interesado en utilizar el paquete LMERconvenientsfucntions
Dear Javier,
The package has been updated and should work for you fine now. Note that
function mcp.fnc does not return the fourth plot (dffits) anymore. We still
have to figure out a way to compute
2009 Mar 21
0
object gstat
dear all i have this dataset: x,y, datavalue
> dati[,c(1,2,5)]
[,1] [,
2] [,3]
[1,] 2.386 3.077 1.740
[2,] 2.544 1.972 1.335
[3,] 2.807 3.347
1.610
[4,] 4.308 1.933 2.150
[5,] 4.383 1.081 1.565
[6,] 3.244 4.519
1.145
[7,] 3.925 3.785 0.894
[8,] 2.116 3.498 0.525
[9,] 1.842 0.989
0.240
[10,] 1.709 1.843 0.625
[11,] 3.800 4.578 3.873
[12,] 2.699 1.199
1.425
2005 Jun 17
0
another aov results interpretation question
I commend you to (a) the recent article by Doug Bates on "Fitting
nonlinear mixed models in R" pp. 27-30 in the latest issue of "R News"
available from "www.r-project.org" -> Newsletter and (b) Doug's book
with Pinheiro (2000) Mixed-Effects Models in S and S-PLUS (Springer). I
suggest you try the same analysis using in "lmer", library(lme4), and
2007 Dec 08
0
help for segmented package
Hi,
I am trying to find m breakpoints of a linear regression model. I
used the segmented package. It works fine for small number of
predicators and breakpoints.(3 r.v. 3 points). However, my model has
14 variables it even would not work even for just one breakpoints!.
The error message is always estimated breakpoints are out of range.
Since my problem is time related problem. So I