[R] When factor is better than other types, such as vector and frame?

Peng Yu pengyu.ut at gmail.com
Sun Aug 23 05:00:11 CEST 2009


It is easy to understand the types vector and frame.

But I am wondering why the type factor is designed in R. What is the
advantage of factor compare with other data types in R? Can somebody
give an example in which case the type factor is much better than
other data types?


More information about the R-help mailing list