z is a zoo object as a result from reading in the following series

z = suppressWarnings(zoo(1:8), c(1, 2, 2, 2, 3, 4, 5, 5))

This is what z is in the aggregate function. So then that brings us to
"aggregate(z, identity, tail, 1)". All I was trying to accomplish was trying
to reproduce an example shown on the zoo faq. I've read ?aggregate via
terminal and used "/identity" to search through the documentation for the
specific term "identity". I'm just trying to understand what identity is
used for because I do not understand the error statement. 



--
View this message in context: 
http://r.789695.n4.nabble.com/Noob-question-Identity-argument-within-aggregate-function-tp4439806p4440413.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