rSSR_plot: Plot the rSSR Curve and Convergence Thresholds and Optimum MBP
Description
Using the dataframes produced by renorm_SSR and opt_mbp, plots the rSSR
curve, and all the convergence thresholds (horizontal lines) and
corresponding optimum mbps (vertical lines).
Usage
rSSR_plot(rSSR_df, opt_mbp_df, var_groups = NULL)
Value
A plot of the rSSR curve, convergence thresholds, and optimum mbps
Arguments
rSSR_df
a dataframe created by created by renorm_SSRduration compare
showing the renormalized sum of squares of the residuals between one
potential blanking period and the next.
opt_mbp_df
a dataframe created by opt_mbp showing the values for the
convergence thresholds and optimum mbps
var_groups
a single string or vector of strings of the columns which
should be used to group organisms. Common groupings are species and cohorts.