[R] Transformation of Variables

jim holtman jholtman at gmail.com
Mon Feb 16 13:57:50 CET 2009


It would be useful to have some sample input data and then what you
expect as output.  You can always convert the characters to factors
and then use the integer values assigned.

On Mon, Feb 16, 2009 at 2:00 AM, Arup <arup.pramanik27 at gmail.com> wrote:
>
> I have a data frame in R  where all the variables are character in nature.
> kindly let know how I can transform these character variable into say
> "numeric","Categorical","continuous" etc.Please provide me with the proper
> syntax. Thank you in advance.
> --
> View this message in context: http://www.nabble.com/Transformation-of-Variables-tp22032424p22032424.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?




More information about the R-help mailing list