Re: [R] aggregate example : where is the state.region variable?

From: John Kane <jrkrideau_at_yahoo.ca>
Date: Wed 23 Aug 2006 - 06:31:15 EST

> > there is
> > no factor in the dataset but why there is not one
> and
> > why a call to another dataset is totally opaque.
>
> The reason is purely historical. The state dataset
> is about
> 10 years older than the data.frame concept. At the
> time the
> state.* variables were constructed it was not
> possible to put
> numeric data and factor data into the same
> rectangular structure.

I see. So originally the example would have been more obvious. Thanks



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. Received on Wed Aug 23 06:39:14 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 23 Aug 2006 - 08:22:38 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.