>aggregate(z, identity, mean)
  1   2   3   4   5 
1.0 3.0 5.0 6.0 7.5 
> aggregate(z, mean)
Error: length(time(x)) == length(by[[1]]) is not TRUE

Can someone help me understand the error above and why "identity" is
necessary to satisfy the error




--
View this message in context: 
http://r.789695.n4.nabble.com/Noob-question-Identity-argument-within-aggregate-function-tp4439806p4439806.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to