[R] Numeric class and sasxport.get

Sebastien Bihorel Sebastien.Bihorel at cognigencorp.com
Tue Feb 3 23:53:33 CET 2009


Frank,

It is a non existing issue for me if the variables of class "labelled" 
(and only "labelled") can only be numerical variables (integer or numeric).

Sebastien

Frank E Harrell Jr wrote:
> Sebastien Bihorel wrote:
>> Dear R-users,
>>
>> The sasxport.get function (from the Hmisc package) automatically 
>> defines the class of imported variables. I have noticed that the 
>> class of theoretically numeric variables is simply "labelled", 
>> although character variables might end up been defined as "labelled" 
>> "Date" or "labelled" "factor".
>> Is there a way to tell sasxport.get to define numeric variable as 
>> "labelled" "integer" or "labelled" "numeric"?
>
> Sebastien,
>
> If that would fix a problem you're having we could look into it. 
> Otherwise I'd tend to leave well enough alone.
>
> Frank
>
>>
>> Thank you
>>
>> Sebastien
>>
>> ______________________________________________
>> 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.
>>
>
>




More information about the R-help mailing list