plotMemory {memoria} | R Documentation |
Plots output of computeMemory
Description
Plots the ecological memory pattern yielded by computeMemory
.
Usage
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
Examples
#loading data
data(palaeodataMemory)
#plotting memory pattern
plotMemory(memory.output = palaeodataMemory)
[Package memoria version 1.0.0 Index]