Skip to contents

Batch cascade plot Returns a plot for all cascades generated by the package. A quick way to produce all permutations of cascade plots. User passes an msd data frame and plots are returned for USAID only for all cascades.

Usage

batch_cascade_plot(msd_df, imgtype = ".png", imgpath = "Images")

Arguments

msd_df

msd based data frame

imgtype

type of image to save (default = .png, .svg, .jpeg, ...)

imgpath

path where images are saved ("Images" set as default)

Value

a list of plot objects, one for each cascade

Examples

if (FALSE) {
plt <- batch_cascade_plot(df_sub, imgtype = ".png", imgpath = "Images")}