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

From: Richard M. Heiberger <rmh_at_temple.edu>
Date: Tue 22 Aug 2006 - 23:53:30 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.



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 00:27:12 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:36 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.