simulate_and_check | R Documentation |
This internal function first fits a model to the 'pineneedles' data from the 'litterfitter' package using the 'fit_litter' function. Next, it introduces random noise to the mass remaining data and refits the model to this perturbed data. The function returns whether the time to proportion mass remaining values from the two fits are within ten percent of each other.
simulate_and_check(model)
model |
A character string representing the model type to be fitted using 'fit_litter'. |
Logical. TRUE if the time to proportion mass remaining values from the original and simulated fits are within ten percent of each other; FALSE otherwise.
fit_litter
, pineneedles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.