Skip to contents

Plots the ecological memory pattern yielded by computeMemory.

Usage

plotMemory(
  memory.output = NULL,
  ribbon = FALSE,
  legend.position = "right",
  ...
)

Arguments

memory.output

list, output of computeMemory. Default: NULL.

ribbon

logical, switches plotting of confidence intervals on (TRUE) and off (FALSE). Default: FALSE.

legend.position

character, position of the legend. Default: "right".

...

additional arguments for internal use.

Value

A ggplot object.

Author

Blas M. Benito <blasbenito@gmail.com>

Examples

#loading data
data(palaeodataMemory)

#plotting memory pattern
plotMemory(memory.output = palaeodataMemory)


#with confidence ribbon
plotMemory(memory.output = palaeodataMemory, ribbon = TRUE)