plot.litfit | R Documentation |
Plot a Litter Decomposition Trajectory with Curve Fit
## S3 method for class 'litfit'
plot(x, formulae.cex = 1, ...)
x |
A 'litfit' object. |
formulae.cex |
Size scaling factor for the formula display on the plot. |
... |
Additional arguments passed to |
Visualizes the litter decomposition trajectory data and its curve fit derived from a 'litfit' object. This function is designed to provide a quick visual check on the adequacy of model fitting.
The plot displays data points from the 'litfit' object along with the curve fit. The formula for the fit is displayed on the plot.
A plot visualizing the data and curve fit from a 'litfit' object. The result is returned invisibly.
Will Cornwell
fit_litter
for generating 'litfit' objects.
fit <- fit_litter(
time=c(0,1,2,3,4,5,6),
mass.remaining=c(1,0.9,1.01,0.4,0.6,0.2,0.01),
'neg.exp',
iters=250
)
plot(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.