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:<[email protected]>        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 <[email protected]> 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]]
>
>______________________________________________
>[email protected] 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.

______________________________________________
[email protected] 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.

Reply via email to