metasuperset: Retrieve Model Outputs with Metadata

View source: R/superset.R

metasupersetR Documentation

Retrieve Model Outputs with Metadata

Description

Retrieves model outputs with metadata.

Usage

metasuperset(
  x,
  groups,
  meta = match.fun("meta")(x, ...),
  subset = getOption("metasuperset_subset", NULL),
  ...
)

Arguments

x

model name

groups

vector of key column names in superset, e.g. USUBJID, TIME

meta

metadata with column 'item' and possibly attributes such as 'label' and 'guide'

subset

length-one character: a condition for filtering results, e.g. 'EVID == 0'

...

passed arguments

Value

data.frame

See Also

Other superset: generalize(), ignored(), meta.character(), meta.numeric(), metaplot.character(), metaplot.numeric(), metaplot_character(), meta(), ninput.character(), ninput.numeric(), ninput(), shuffle(), superset.character(), superset.numeric(), superset(), superspec.character(), superspec.numeric(), superspec()

Examples

library(magrittr)
options(project = system.file('project/model',package='nonmemica'))
1001 %>% metasuperset(c('ID','TIME')) %>% head

bergsmat/nonmemica documentation built on Sept. 15, 2023, 9:22 a.m.