plotRecover | R Documentation |
Plot the recovery curves for multiple data sets.
plotRecover(
...,
index = NA,
type = "RCB",
area = T,
stand = T,
AB = F,
new.plot = T,
plot.lines = F,
plot.points = F,
plot.shadow = F,
plot.mean = F,
col = NULL,
getGroup = F
)
... |
One or more data sets to plot, each of class |
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. |
AB |
A vector or list indicating whether to include pre-bleach data. Default is FALSE. |
new.plot |
Boolean indicating whether to create a new plot. Default is TRUE. |
plot.lines |
Boolean indicating whether to plot recovery curves as lines. Default is FALSE. |
plot.points |
Boolean indicating whether to plot recovery curves as points. Default is FALSE. |
plot.shadow |
Boolean indicating whether to plot recovery curve shadows. Default is FALSE. |
plot.mean |
Boolean indicating whether to plot the mean recovery curve. Default is FALSE. |
col |
Colors to use for the plot. If NULL, colors are automatically assigned. |
getGroup |
Boolean indicating whether to return the group function. Default is FALSE. |
If getGroup
is TRUE, returns a function for grouping data. Otherwise, generates the plot.
# Generate a plot of recovery curves for all data sets
plotRecover(data1, data2, data3)
# Generate a plot of recovery curves for specific data sets
plotRecover(data1, data2, data3, index = c(1, 3, 5))
# Return the group function for custom grouping
group_func <- plotRecover(getGroup = TRUE)
custom_group <- group_func(data1, data2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.