This function computes expected measurements (corresponding to the fitted
curves) for the specified times and features in all combinations of
conditions and covariates (if they exist). Register a parallel backend to
minimize runtime, e.g., using doParallel::registerDoParallel()
.
getExpectedMeas( fit, times, fitType = c("posterior_mean", "posterior_samples", "raw"), features = NULL )
fit | A 'limorhyde2' object. |
---|---|
times | Numeric vector of times, in units of
|
fitType | String indicating which fitted models to use to compute the
expected measurements. A typical analysis using |
features | Vector of names, row numbers, or logical values for
subsetting the features. |
A data.table
.