Compose input data for Gompitz functions runGompitzCalibration,
runGompitzPrediction
Usage
composeGompitzInputData(
masterdata,
covariates,
weight,
covariates.status,
condition.labels = NULL,
warn = FALSE
)Arguments
- masterdata
data.frame containing master data as retrieved by
composeMasterData- covariates
data.frame containing covariates in columns. Must have as many rows as masterdata
- weight
weight to be given for each inspection (each row) in masterdata. Should be a vector of same length as there are rows in masterdata. Default: 1
- covariates.status
matrix of covariate status as retrieved by
createStatusMatrix- condition.labels
All possible condition labels, e.g. c("1", "2", "3", "4"). Default: unique values in column "condition" of masterdata
- warn
if TRUE (default), a warning is given if weight does not have the expected length