[R] aggregate example : where is the state.region variable?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Aug 21 21:51:53 CEST 2006
On Mon, 21 Aug 2006, John Kane wrote:
> I was looking ?aggregate and ran the first example
> aggregate(state.x77, list(Region = state.region),
> 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?
Try ?state.region for more info.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help