R/1.3.main.R

Defines functions getModelComponentsFromModelFrame

getModelComponentsFromModelFrame <- function(modelFrame) {
  components <- list(
    response = extractComponents(modelFrame, "response"),
    explanatory = extractExplanatoryComponents(modelFrame),
    waves = extractComponents(modelFrame, "waves"),
    ids = extractComponents(modelFrame, "ids"),
    weights = extractComponents(modelFrame, "weights"),
    stratum = extractComponents(modelFrame, "stratum"),
    cluster = extractComponents(modelFrame, "cluster")
  )

  return(components)
}

Try the Mmcsd package in your browser

Any scripts or data that you put into this service are public.

Mmcsd documentation built on March 31, 2023, 7:23 p.m.