plotAcf: Plots results of 'acfToDf'.

View source: R/plotAcf.R

plotAcfR Documentation

Plots results of acfToDf.

Description

Plots a dataframe resulting from acfToDf by using ggplot2.

Usage

plotAcf(
  x = NULL,
  plot.title = ""
  )

Arguments

x

dataframe, output of acfToDf

plot.title

string, title of the output plot.

Value

A ggplot object

Author(s)

Blas M. Benito <blasbenito@gmail.com>

See Also

acfToDf

Examples


#getting a driver
data(driverA)

#computing temporal autocorrelations
x.df <- acfToDf(
  x = driverA,
  lag.max = 1000,
  length.out = 100
)
str(x.df)

#plotting output
plotAcf(x.df)


virtualPollen documentation built on March 18, 2022, 6:16 p.m.