[R] value.labels

Zeki Çatav zcatav at gmail.com
Thu Aug 11 20:50:58 CEST 2011


Prş, 2011-08-11 tarihinde 19:27 +0200 saatinde, Uwe Ligges yazdı:
> 
> On 11.08.2011 19:22, David Winsemius wrote:
> >
> > On Aug 11, 2011, at 11:42 AM, Uwe Ligges wrote:
> >
> >>
> >>
> >> On 11.08.2011 16:10, zcatav wrote:
> >>> Hello R people,
> >>>
> >>> I have a "data.frame". Status variable has 3 values. 0->alive,
> >>> 1->dead and
> >>> 2->missed..........................
> .........................................
> As I understood the question, just how to rename the levels was the 
> original question.
> 
> Uwe

I don't want to rename levels or converting from numeric to string. I
want to add each corresponding levels value, a label, as in SPSS.
Level 0 labeled with alive,
level 1 labeled with dead and
level 2 labeled with missed.



-- 
Zeki Çatav
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Bu dijital olarak imzalanm?? ileti par?as?d?r
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110811/c3583278/attachment.bin>


More information about the R-help mailing list