On Sat, 22-Aug-2009 at 10:00PM -0500, Peng Yu wrote: |> Hi, |> |> It is easy to understand the types vector and frame.
Types of what? Class of object? Doesn't seem likely. What do you mean by frame? It's a function, and a vector can be a factor, numeric, logical or character (and probably a few others). I really don't know what your question is about. Maybe someone else can guess what it is you want to know. |> |> 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? -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ______________________________________________ R-help@r-project.org 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.