[R] Importint stata file and using value labels
Juan Ceccarelli Arias
jfca283 at gmail.com
Wed Aug 31 22:48:17 CEST 2016
I solved this problem using the
nonint.factors=F,generate.factors=F)
when i imported the dta files.
Thanks to all. My issue can be declared as solved.
On Sat, Aug 27, 2016 at 12:55 PM, Michael Friendly <friendly at yorku.ca>
wrote:
> 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
>
[[alternative HTML version deleted]]
More information about the R-help
mailing list