/rosetta

Primary LanguageROtherNOASSERTION

rosetta

rosetta provides a method to combine datasets that measure the same latent traits when there is only partial overlap of measurements across the constituent datasets.

Installation

devtools::install_github("cwbartlett/rosetta")

Examples

library(rosetta)

# simulate data
d <- sim(seed = 100)

# check feature names
lapply(d$missing, names)

# run rosetta
d_rosetta <- rosetta(
  d = d$missing,
  factor_structure = list(
    a = c("a_1", "a_2", "a_3"),
    b = c("b_1", "b_2", "b_3"),
    c = c("c_1", "c_2", "c_3")
  )
)