plotFit | R Documentation |
Plot the fitted or simulated recovery curves for multiple data sets.
plotFit(
...,
fit,
index = NA,
type = "RCB",
area = T,
stand = T,
simulated = F,
Nsim = 50,
seed = NA,
npoints = 100,
displacement = F,
new.plot = T,
plot.lines = F,
plot.points = F,
plot.shadow = F,
plot.mean = F,
col = NULL
)
... |
One or more data sets to plot, each of class |
fit |
An optional fit object obtained from the |
index |
Indices of the data sets to include in the plot. Default is NA (all data sets). |
type |
A vector or list of recovery curve types. Default is "RCB". |
area |
A vector or list indicating whether to use area normalization. Default is TRUE. |
stand |
A vector or list indicating whether to apply standardization. Default is TRUE. |
simulated |
A vector or list indicating whether to plot simulated recovery curves. Default is FALSE. |
Nsim |
A vector or list specifying the number of simulations to perform. Default is 50. |
seed |
A vector or list specifying the seed for the random number generator. Default is NA (no seed). |
npoints |
Number of points to use for generating the fitted/simulated curves. Default is 100. |
displacement |
Boolean indicating whether to displace the curves by their respective time0 values. Default is FALSE. |
new.plot |
Boolean indicating whether to create a new plot. Default is TRUE. |
plot.lines |
Boolean indicating whether to plot the fitted/simulated curves as lines. Default is FALSE. |
plot.points |
Boolean indicating whether to plot the fitted/simulated curves as points. Default is FALSE. |
plot.shadow |
Boolean indicating whether to plot the shadow area around the fitted/simulated curves. Default is FALSE. |
plot.mean |
Boolean indicating whether to plot the mean fitted/simulated curve. Default is FALSE. |
col |
Colors to use for the plot. If NULL, colors are automatically assigned. |
# Generate a plot of fitted recovery curves for all data sets
plotFit(data1, data2, data3, fit = myFit)
# Generate a plot of fitted recovery curves for specific data sets
plotFit(data1, data2, data3, fit = myFit, index = c(1, 3, 5))
# Generate a plot of simulated recovery curves
plotFit(data1, data2, data3, fit = myFit, simulated = TRUE, Nsim = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.