[R] Regression Problem

Milan Bouchet-Valat nalimilan at club.fr
Mon Sep 24 09:43:36 CEST 2012


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




More information about the R-help mailing list