plot_shellfish returns a ggplot2 object with the desired plot specified by the type argument.

plot_shellfish(results, type = "rvars")

Arguments

results

a list of results generated by shellfishrisks::serve_shellfish

type

The type of plot to generate, one of

  • "rvars": plot values from the pop_rvars objects

  • "fst": plot fst outcomes

  • "popsize": plot the subpopulation sizes

Value

a ggplot2 object

Examples

if (FALSE) { results <- serve_shellfish(batches = c("spam","eggs")) plot_shellfish(results, type = "rpart") }