Skip to content
Back to formatted view

Raw Message

Message-ID: <776d0a12-9f7b-2327-f69d-70b1fe1fcfc7@yorku.ca>
Date: 2016-08-27T15:55:04Z
From: Michael Friendly
Subject: Importint stata file and using value labels
In-Reply-To: <CALBYkjLFSAvKzb+=srtRJV_E-MTUa7H+gwuRneWsngibeknUpA@mail.gmail.com>

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