search for: f1sn1

Displaying 1 result from an estimated 1 matches for "f1sn1".

Did you mean: f11
2010 Mar 24
0
Export R dataframe to STA with Variable Labels
...data, variable labels, and value labels import correctly). After working in R, I use write.dta to export the data frame back to a *.dta file. The data and value labels convert fine, but the variable labels do not - the variable labels are written as the variable name(e.g., the variable label for f1sn1 is listed as "f1sn1" instead of "students academic grade"). write.dta(d,"immigration.dta",version=7L,convert.factor="labels") Are there any suggestions for maintaining the variable labels between a Stata-->R-->Stata import/export. My apologies for im...