An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120924/e2f0ffe3/attachment.pl>
Regression Problem
3 messages · Vignesh Prajapati, Jeff Newmiller, Milan Bouchet-Valat
What is it you think as.numeric accomplishes for you? A reproducible example as requested in the posting guide might clarify.
Making factors and leaving them that way seems more productive.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
Vignesh Prajapati <vignesh at tatvic.com> wrote:
Hello all,
I am new to R, I am learning regression and logistic modeling
with categorical predictor variables, when there is only one predictor
categorical variable i can use as.numeric() but when more than two
variable
then what is solution? can anyone suggest me?
Thanks
vignesh
[[alternative HTML version deleted]]
______________________________________________ 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.
Le lundi 24 septembre 2012 ? 11:25 +0530, Vignesh Prajapati a ?crit :
Hello all,
I am new to R, I am learning regression and logistic modeling
with categorical predictor variables, when there is only one predictor
categorical variable i can use as.numeric() but when more than two variable
then what is solution? can anyone suggest me?
Please provide at least a piece of code to show us the problem. I don't see why you would need to use as.numeric() on the independent (factor?) variables, nor why using several predictors would be different from having just one of them. Regards