[R-wiki] Factor pages

Philippe Grosjean phgrosjean at sciviews.org
Mon Aug 7 08:14:19 CEST 2006


Gorjanc Gregor wrote:
>>>Gorjanc Gregor wrote:
>>>Hi!
>>>
>>>There are several instances of describing factors i.e. at least these
>>>two
>>>
>>>http://wiki.r-project.org/rwiki/doku.php?id=guides:stats-with-r:02programming_in_r:03datastructures&s=omit#factors
>>>
>>>and
>>>
>>>http://wiki.r-project.org/rwiki/doku.php?id=tips:data-factors:factors
>>>
>>>I think that we should merge factor parts. Should we put that part from 
>>>first link to the second?
>>>
>>>  Well, the first part is within Vincent Zoonekynd's "Programming in 
>>>R", so I don't think so.  Perhaps some cross-referencing?  (Only the last
>>>section -- how to convert factors with numeric labels into numbers
>>>properly (as.numeric(as.character(x)) etc.) really looks appropriate
>>>for R-tips anyway.)
> 
> 
> It is confusing to have the same thing in different places. Actually 
> as.numeric(as.character(x)) is also in Vincent's part so I am now a bit 
> confused what should be in Vincent's part and what should be in R-tips.
> I agree that say drop.levels[1] is a thing for R-tips. Would it make 
> sense to migrate part in [2] to Vincent's part?

No. Vincent Zoonekynd's Statistics with R is a separate guide by itself 
(and I hope to have more documents like this, translated into the Wiki). 
Apart from its translation into Wiki format (and perhaps, refreshment of 
the content to work with latest R version), this is not to be 
edited/merged with the rest.

The tips section starts with Paul Johnson's tips, but is dedicated to be 
a collection of many more tips, contributed by the Wiki users.

Guides and Tips are very different sections. However, it is possible to 
got some redundancy... a little bit like you have certainly redundancy 
in the various contributed packages and documents on CRAN, but you 
cannot force their authors for more coherence.

Best,

Philippe Grosjean

> [1]http://wiki.r-project.org/rwiki/doku.php?id=tips:data-manip:drop_unused_levels
> [2]http://wiki.r-project.org/rwiki/doku.php?id=tips:data-factors:factors
> 
> Gregor
> 
> _______________________________________________
> R-sig-wiki mailing list
> R-sig-wiki at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-wiki
> 
>



More information about the R-sig-wiki mailing list