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)
A data.frame. The raw data to be cleaned.
data.frame
character(1). The time variable.
character(1)
character(1). The number of events.
character(1). The run numbers. This is NULL by default if you are only using the function for one run.
NULL
A data.frame of the cleaned data to be supplied to the timedist() function.
timedist()
# NOT RUN { tdData(tilia, x = "Day", y = "Trees") tdData(lobelia, x = "Day", y = "Germination", group = "Temperature") # }
Run the code above in your browser using DataLab