SurfaceData: Surface observable data.

Description Usage Arguments Value

Description

Extract observable data from the full dataset.

Usage

1
SurfaceData(full.data, names.const, names.sum)

Arguments

full.data

data.table of full data. each row contains information for a particular timepoint + hidden state

names.const

character names of variables with constant values over the state, to be aggregated by taking the first entry.

names.sum

character names of variables with numeric values, to be aggregated by sum().

Value

observable data, aggregated over the hidden states as specified. Variables not included in names.const or names.sum are assumed to be hidden variables and not surfaced.


google/amss documentation built on May 20, 2019, 5:05 p.m.