1 year ago

#67888

test-img

Kelly

Write stata dataframe in R

I've created a dataframe in R, and I am trying to convert it to .dta to use it in Stata. I feel like it should be straightforward, but I keep getting an error that says "empty string is not valid in Stata's documented format". I have been trying to use write.dta from the foreign package.

r

dataframe

stata

0 Answers

Your Answer

Accepted video resources