plot_multiple_fits {litterfitter} | R Documentation |
Plot multiple fits on one graph with model selection results displayed
Description
Plot multiple fits of decomposition trajectories on one graph with model selection results displayed
Usage
plot_multiple_fits(time,mass.remaining,model,color,iters,bty,...)
Arguments
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 |
Details
this function is designed to compare a variety of curve shapes visually and with AIC and BIC simultaneously
Value
plot of multiple fits, returns invisibly
Author(s)
Liu Guofang
See Also
Examples
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)
[Package litterfitter version 0.1.3 Index]