Provides access to the dictionary
element of a
tidy_sem
object. This can be used to return or assign to the
dictionary
element.
dictionary(x)
dictionary(x) <- value
Object of class tidy_sem.
A valid value for dictionary(x)
.
data.frame
dict <- tidy_sem(iris, split = "\\.")
dictionary(dict)
#> name scale type label
#> 1 Sepal.Length Sepal observed Sepal.Length
#> 2 Sepal.Width Sepal observed Sepal.Width
#> 3 Petal.Length Petal observed Petal.Length
#> 4 Petal.Width Petal observed Petal.Width
#> 5 Species <NA> observed Species