I was looking ?aggregate and ran the first example

 aggregate(state.x77, list(Region = state.region),
mean)

The variables in state.x77 appear to be :
> state.x77
Population Income Illiteracy Life Exp Murder HS Grad
Frost   Area

Where is the "state.region" variable coming from?

______________________________________________
R-help@stat.math.ethz.ch 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