[R] Numeric class and sasxport.get

Frank E Harrell Jr f.harrell at vanderbilt.edu
Tue Feb 3 23:40:17 CET 2009


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.
> 


-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University




More information about the R-help mailing list