search for: chega

Displaying 2 results from an estimated 2 matches for "chega".

Did you mean: cheba
2011 Dec 02
2
Moving column averaging
# need zoo to use rollapply() # your data (I called df) df <- structure(list(a = 1:2, b = 2:3, c = c(5L, 9L), d = c(9L, 6L), e = c(1L, 5L), f = c(4, 7)), .Names = c("a", "b", "c", "d", "e", "f"), class = "data.frame", row.names = c(NA, -2L)) # transpose and make a zoo object df2 <- zoo(t(df)) #rollapply to get
2012 Dec 21
1
Parallel code using parLapply
...ound(nrow(i) / 5), iter = 2000, simple = FALSE)    }, ) stopCluster(cl) ****************************************** Before running the last line, R is throwing an error: "Error in length(x) : 'x' is missing". Any ideas what I am doing wrong and how to improve? Many thanks! Best, Chega [[alternative HTML version deleted]]