labelled: Manipulating Labelled Data

Work with labelled data imported from 'SPSS' or 'Stata' with 'haven' or 'foreign'.

Author
Joseph Larmarange [aut, cre], Daniel Ludecke [ctb], Hadley Wickham [ctb]
Date of publication
2016-11-20 17:30:53
Maintainer
Joseph Larmarange <joseph@larmarange.net>
License
GPL-3
Version
1.0.0
URLs

View on CRAN

Man pages

as.data.frame.labelled
as.data.frame method for labelled vectors
copy_labels
Copy variable and value labels
labelled
Create a labelled vector.
labelled_spss
Create a labelled vector with SPSS style of missing values.
mean.labelled
Arithmetic mean for numeric labelled vectors
na_values
Get / Set SPSS missing values
nolabel_to_na
Recode values with no label to NA
remove_labels
Remove variable label, value labels and user defined missing...
sort_val_labels
Sort value labels
to_character
Convert input to a character vector
to_factor
Convert input to a factor.
to_labelled
Convert to labelled data
val_labels
Get / Set value labels
val_labels_to_na
Recode value labels to NA
var_label
Get / Set a variable label

Files in this package

labelled
labelled/inst
labelled/inst/doc
labelled/inst/doc/intro_labelled.html
labelled/inst/doc/intro_labelled.R
labelled/inst/doc/intro_labelled.Rmd
labelled/tests
labelled/tests/testthat.R
labelled/tests/testthat
labelled/tests/testthat/test-labelled.r
labelled/NAMESPACE
labelled/NEWS.md
labelled/R
labelled/R/var_label.R
labelled/R/to_na.R
labelled/R/to_factor.R
labelled/R/copy_labels.R
labelled/R/to_character.R
labelled/R/remove_labels.R
labelled/R/na_values.R
labelled/R/val_labels.R
labelled/R/labelled.R
labelled/R/as.data.frame.R
labelled/R/to_labelled.R
labelled/R/mean.R
labelled/vignettes
labelled/vignettes/intro_labelled.Rmd
labelled/README.md
labelled/MD5
labelled/build
labelled/build/vignette.rds
labelled/DESCRIPTION
labelled/man
labelled/man/to_labelled.Rd
labelled/man/to_character.Rd
labelled/man/sort_val_labels.Rd
labelled/man/var_label.Rd
labelled/man/val_labels.Rd
labelled/man/labelled_spss.Rd
labelled/man/na_values.Rd
labelled/man/to_factor.Rd
labelled/man/mean.labelled.Rd
labelled/man/val_labels_to_na.Rd
labelled/man/nolabel_to_na.Rd
labelled/man/labelled.Rd
labelled/man/remove_labels.Rd
labelled/man/as.data.frame.labelled.Rd
labelled/man/copy_labels.Rd