nlstimedist
The data for nlstimedist needs to be in a particular format. This function prepares the data for the model.
tdData(data, x, y, group = NULL)
The raw data to be cleaned.
The time variable.
The number of events.
The run numbers. This is NULL by default if you are only using the function for one run.
NULL
A list containing
raw The raw data supplied to the function, i.e. data.
data
clean item The cleaned data to be supplied to timedist.
timedist
# NOT RUN { tdTilia <- tdData(tilia, x = "Day", y = "Trees") tdTilia # }
Run the code above in your browser using DataLab