jrkrideau at yahoo.ca
Wed Jul 18 19:52:05 CEST 2007
Have a look at the recode function in the car package
should give you what you need.
--- "Ing. Michal Kneifl, Ph.D." <xkneifl at mendelu.cz>
> I am also a quite new user of R and would like to
> ask you for help:
> I have a data frame where all columns are numeric
> variables. My aim is
> to convert one columnt in factors.
> I want to make classes:
> 0-0.2 A
> 0.21-0.4 B
> 0.41-0.6 C
> ..... and so on
> So after classification I wil get:
> and so on
> Please could you give an advice to a newbie?
> Thanks a lot in advance..
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained,
> reproducible code.
More information about the R-help