[R] integer -> factor

Bert Gunter gunter.berton at gene.com
Tue Oct 22 17:25:24 CEST 2013


... and ?ordered for bmi.

And if the OP has not already done so, read An Introduction to R or
other web tutorial and stop posting such basic questions here.

Cheers,
Bert

On Tue, Oct 22, 2013 at 8:21 AM, Sarah Goslee <sarah.goslee at gmail.com> wrote:
> Hi,
>
> You should probably start by reading
>
> ?factor
>
> Sarah
>
> On Tue, Oct 22, 2013 at 5:50 AM, luana <luana.paponi at libero.it> wrote:
>> Hi!
>> I have a dataset composed by bmi, sex, age, and race.
>> I have to convert bmi, sex and race in factor and they have still to be in
>> the same dataset with their names.
>> That's because I need to do an Ordered Logistic Regression.
>> Can you help me?
>> really tnx!
>>
>>
>
> --
> Sarah Goslee
> http://www.functionaldiversity.org
>
> ______________________________________________
> 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.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

(650) 467-7374



More information about the R-help mailing list