[R] Factor Madness

Johannes Graumann johannes_graumann at web.de
Wed Dec 19 18:34:02 CET 2007


As Tony assumed: a data frame.

Joh

John Kane wrote:

> What was spectrum orginally?
> 
> 
> --- Johannes Graumann <johannes_graumann at web.de>
> wrote:
> 
>> Why is class(spectrum[["Ion"]]) after this "factor"?
>> 
>> spectrum <- cbind(spectrum,Ion=rep("",
>> nrow(spectrum)),Deviation.AMU=rep(0.0,
>> nrow(spectrum)))
>> 
>> slowly going crazy ...
>> 
>> Joh
>> 
>> ______________________________________________
>> R-help at 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.
>>
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list