[R] Importint stata file and using value labels
Michael Friendly
friendly at yorku.ca
Sat Aug 27 17:55:04 CEST 2016
On 8/26/2016 11:05 AM, Juan Ceccarelli Arias wrote:
> Yep. Im a bit stalled.
> I can't find the option to import only the values and drop the value labels
> from the dta file.
> Im quite sure R can do that. Then i'd only used the values and i'd rely on
> my memory.
> It isn't a bad alternative.
>
Hint: use str() to see the class of what you've read.
Then try as.data.frame() on the resulting object read from the .dta file.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept. & Chair, Quantitative Methods
York University Voice: 416 736-2100 x66249 Fax: 416 736-5814
4700 Keele Street Web: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
More information about the R-help
mailing list