This function is also responsible for checking whether the input data is valid, such that the fitting process can fail early.
transformLatrendData(object, id, time, response, envir)# S4 method for data.frame
transformLatrendData(object, id, time, response, envir)
# S4 method for matrix
transformLatrendData(object, id, time, response, envir)
# S4 method for call
transformLatrendData(object, id, time, response, envir)
The data object to transform.
The name of the trajectory identifier variable.
The name of the time variable.
The name of the response variable.
The environment
used to evaluate the data object in (e.g., in case object
is of type call
).
A data.frame
with an id, time, and measurement columns.