plot_multiple_fits | R Documentation |
Plot multiple fits of decomposition trajectories on one graph with model selection results displayed
plot_multiple_fits(time,mass.remaining,model,color,iters,bty,...)
time |
vector of time points |
mass.remaining |
vector of mass remaining |
model |
vector of models to fit and plot (see |
color |
a vector of colors the same length as the number of models |
iters |
parameter passed to |
bty |
bty |
... |
additional parameters passed to |
this function is designed to compare a variety of curve shapes visually and with AIC and BIC simultaneously
plot of multiple fits, returns invisibly
Liu Guofang
fit_litter
plot.litfit
data(pineneedles,package='litterfitter')
plot_multiple_fits(time = pineneedles$Year,
mass.remaining = pineneedles$Mass.remaining,
bty = 'n', model = c('neg.exp', 'weibull'),
xlab = 'Time', ylab = 'Proportion mass remaining',iters=200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.