Description Usage Arguments Note Author(s) Examples
When reading SPSS files with read_data
, se this function to convert
labelled
to factor
and remove additional attributes from the data.
The function returns a list
(mm and df) and the additional information is stored in
mm
. The process can be returned when writing spss files with write_data
(if changes to the data are reflected in the mm), but it is better to not avoid using this
function when doing light data cleaning and writing it after.
1 |
df |
A data.frame as returned from |
The results are error-prone. Carefully check the results.
Kristian D. Olsen
1 | read_data("test.sav") %>% from_labelled()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.