Skip to contents

return_cascade_plot is a wrapper function that lets a user select between 13 different cascade plots. Valid entries must fall between 1 and 10. The function will plot the selected cascade and return a list of data underlying the plot.

Usage

return_cascade_plot(msd_df, export = TRUE, path = "Images")

Arguments

msd_df

MSD data frame from either a Genie or Panorama MSD

export

exports the plot

path

the path to where the plot will be saved (Images by default)

Value

returns a ggplot2 object

Examples

if (FALSE) {
return_cascade_plot(df_sub, export = T, path = "Images")}