Learn R Programming

virtualPollen (version 1.0.1)

plotAcf: 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

See Also

acfToDf

Examples

Run this code
# NOT RUN {
#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)

# }

Run the code above in your browser using DataLab