[R] Factor to continuous

Keith Jewell k.jewell at campden.co.uk
Tue Apr 14 16:21:38 CEST 2009


I suspect the OP is looking for FAQ 7.10

http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-do-I-convert-factors-to-numeric_003f

HTH

Keith J

"Luc Villandre" <villandl at dms.umontreal.ca> wrote in message 
news:49E495FE.1090800 at dms.umontreal.ca...
> Hi,
>
> You'll need to be more specific about the nature of your problem. Could 
> you describe what exactly you're trying to do and why you need to 
> transform factors into continuous variables? Could you also provide a 
> small subsample of the data you're working with? Without such information, 
> I doubt that even the most knowledgeable specialists of R might be able to 
> provide meaningful assistance.
>
> Best of luck,
>
> Luc
>
> joewest wrote:
>> Hi
>>
>> I am really struggling with changing my factors into continuous 
>> variables. There is plenty of information on changing continuous to a 
>> factor which is
>> the opposite of what i need to do.  I would be soooooo grateful for any 
>> help
>>
>> Thanks
>>
>> Joe
>>
>




More information about the R-help mailing list