Hello everybody,
I imported an SAS data-file into R. open.sas7bdat() did not work,
so I had to convert it to csv first. Now I would like to recode the
value values into factors. Unfortunately I only have a SAS
syntax file, having this form:
proc format;
value $resstatus
'B' = 'Jahresaufenthalter'
'C' = 'Niedergelassene'
'I' = 'Dipl./int. Funkt. und Angehörige'
;
run;
Does anyone know if there is a possibility to change the numeric
value labels into factor levels acording to the SAS syntax-file?
I cannot do this manually as there are several hundred labels...
Thank you!
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.