View source: R/import_convertLabel.R
import_convertLabel | R Documentation |
convertLabel
Function to import a data.frame
object created by convertLabel
for use in eatGADS
. If possible, importing data via import_spss
should always be preferred.
import_convertLabel(df, checkVarNames = TRUE)
df |
A |
checkVarNames |
Should variable names be checked for violations of |
convertLabel
from R
package eatAnalysis
converts an object imported via read.spss
(from the foreign
package) to a data.frame
with factors and variable labels stored in variable attributes.
Returns a list with the actual data dat
and a data frame with all meta information in long format labels
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.