Skip to content

error in scaleInfo(): imputated variables #28

@grewered

Description

@grewered

imputated scales are correctly written into the scaleInfo-table, but imputated variables are not. They should all be written into skalen, so their imputations are displayed correctly in the codebook.

minimal working example

# setup
library(eatCodebook)
file <- system.file("extdata", "exampleBT_inputForDescriptives_imputations.xlsx", package = "eatCodebook")
input_descriptives <- getInputForDescriptives(file)

# create scaleInfo
skalen <- createScaleInfo(input_descriptives)
View(skalen)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions