Re: [R] integer - factor

2013-10-22 Thread Sarah Goslee
Hi,

You should probably start by reading

?factor

Sarah

On Tue, Oct 22, 2013 at 5:50 AM, luana luana.pap...@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@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.


Re: [R] integer - factor

2013-10-22 Thread Bert Gunter
... 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.gos...@gmail.com wrote:
 Hi,

 You should probably start by reading

 ?factor

 Sarah

 On Tue, Oct 22, 2013 at 5:50 AM, luana luana.pap...@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@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

__
R-help@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.