model.frame.tdmore: Get the specified data values, with the upper and lower...

Description Usage Arguments Value

View source: R/model.R

Description

Get the specified data values, with the upper and lower bounds provided by the residual error model

Usage

1
2
## S3 method for class 'tdmore'
model.frame(formula, data, se = FALSE, level = 0.95, onlyOutput = FALSE, ...)

Arguments

formula

a TDMore object

data

data.frame with at least a TIME column Or alternatively, a numeric vector. Or NULL, to get an empty data.frame with TIME and a column for every output variable.

se

TRUE to generate an additional xx.upper and xx.lower column for every xx column in the data dataset

level

numeric value to specify the confidence interval

onlyOutput

only keep TIME and output variables in the data.frame

...

ignored

Value

a data.frame similar to data. It contains at least column TIME. If a numeric vector was specified as 'data', the output is a data.frame with TIME column and additional NA-filled columns corresponding to the residual error variables. If 'se' is TRUE, the data.frame has additional columns xx.lower and xx.upper for all columns that match the residual error model.


tdmore-dev/tdmore documentation built on Jan. 1, 2022, 3:21 a.m.