Transform latrend input data into the right format
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 signature 'data.frame' transformLatrendData(object, id, time, response, envir) ## S4 method for signature 'matrix' transformLatrendData(object, id, time, response, envir) ## S4 method for signature 'call' transformLatrendData(object, id, time, response, envir)
object |
The data object to transform. |
id |
The name of the trajectory identifier variable. |
time |
The name of the time variable. |
response |
The name of the response variable. |
envir |
The |
A data.frame
with an id, time, and measurement columns.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.