Displaying 4 results from an estimated 4 matches for "mean_s".
Did you mean:
mean_sl
2013 Sep 09
1
usando RasterBricks
...jemplo estos valores
aleatorios para generar un RasterBrick s de 3 capas.
library(raster)
r <- raster(ncol=10, nrow=10)
r[]=1:ncell(r)
s <- brick(r,r,r)
s <- s * 1:3
Habría alguna forma sin hacer un bucle for, que me devolviese un vector con
los valores medios de cada una de las 3 capas.
mean_s<-NULL
for (i in 1:3)
{
mean_s[i]<-mean(s[[i]][])
}
Un saludo y gracias
[[alternative HTML version deleted]]
2010 Aug 05
3
eval-parse and lme in a loop
Hi everybody,
I'm having trouble getting an eval-parse combination to work with lme in a for loop.
Consider the code below. The call to lme outside the loop works. The call to aov inside the loop works, but the call to to lme inside the loop does not.
The latter fails with
Error in model.frame.default(formula = ~meanCol + Group + c1 + c3 + Subject, :
variable lengths differ (found for
2009 Jul 14
2
hi friends, is there any wait function in R
hi,
is there any wait function in R. I am running one R script to plot
many graphs it is in the for loop. its showing no error but its not
plotting well I think i can solve this problem with a wait function.
Please help me in this regards. If u need any clarification about
programme. u can find the script below.
best regards,
Deepak.M.R
Biocomputing Group
University of Bologana.
#!/usr/bin/R
2009 Jun 29
5
Help
Hi group,
I found a module for adaptive kernel density estimation for Stata users, but unfortunetly I don't have access to Stata, can I find a similar approach using R?
Thank u so much 4 ur time.
[[alternative HTML version deleted]]