[R] Value Labels: SPSS Dataset to R

Yawo Kokuvi y@wo1964 @end|ng |rom gm@||@com
Fri Feb 7 07:49:55 CET 2020


I am just transitioning from SPSS to R.

I used the haven library to import some of my spss data files to R.

However, when I run procedures such as frequencies or crosstabs, value
labels for categorical variables such as gender (1=male, 2=female) are not
shown. The same applies to many other output.

I am confused.

1. Is there a global setting that I can use to force all categorical
variables to display labels?

2. Or, are these labels to be set for each function or package?

3. How can I request the value labels for each function I run?

Thanks in advance for your help..

Best, Yawo

	[[alternative HTML version deleted]]

More information about the R-help mailing list