Hello,
I need to write out a data matrix as a STATA 7 file and this happens perfectly with
write.dta(), except I cannot seem to export the labelnames to Stata.
So far I have tried the following:
# X is the data matrix that is to be exported
attributes(X)$var.labels - c(apple, banana, cat)
Have you considered write.table?
hope this helps. spencer graves
Arnab mukherji wrote:
Hello,
I need to write out a data matrix as a STATA 7 file and this happens perfectly with write.dta(), except I cannot seem to export the labelnames to Stata.
So far I have tried the following:
# X is
On Tue, 4 Nov 2003, Arnab mukherji wrote:
Hello,
I need to write out a data matrix as a STATA 7 file and this happens
perfectly with write.dta(), except I cannot seem to export the
labelnames to Stata.
So far I have tried the following:
# X is the data matrix that is to be exported