plotMemory: Plots output of 'computeMemory'

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plotMemory.R

Description

Plots the ecological memory pattern yielded by computeMemory.

Usage

1
2
3
4
5
6
plotMemory(
  memory.output = NULL,
  title = "Ecological memory pattern",
  legend.position = "right",
  filename = NULL
)

Arguments

memory.output

a dataframe with one time series per column.

title

character string, name of the numeric column to be used as response in the model.

legend.position

character vector, names of the numeric columns to be used as predictors in the model.

filename

character string, name of output pdf file. If NULL or empty, no pdf is produced. It shouldn't include the extension of the output file.

Value

A ggplot object.

Author(s)

Blas M. Benito <blasbenito@gmail.com>

See Also

computeMemory

Examples

1
2
3
4
5
#loading data
data(palaeodataMemory)

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

BlasBenito/memoria documentation built on Feb. 20, 2022, 1:45 a.m.