BSkyPlotTimeSeries: Plot Time Series

BSkyPlotTimeSeriesR Documentation

Plot Time Series

Description

Creates time series plot in combined or separately. When combined multiple variables are plotted together, when separate each variable is plotted independently. BSkyPlotSeriesWithCorrelations is a wrapper function that creates a time series object and internally calls plot.ts.

Creates time series plot in combined or separately. When combined multiple variables are plotted together, when separate each variable is plotted independently. BSkyPlotSeriesWithCorrelations is a wrapper function that creates a time series object and internally calls plot.ts.

Usage

BSkyPlotTimeSeries(
  vars,
  start,
  frequency,
  plot.type = "multiple",
  naturalLogYaxis = FALSE,
  main = "",
  ylab = "",
  dataset,
  excludeEnvPrefix = FALSE
)

BSkyPlotTimeSeries(
  vars,
  start,
  frequency,
  plot.type = "multiple",
  naturalLogYaxis = FALSE,
  main = "",
  ylab = "",
  dataset,
  excludeEnvPrefix = FALSE
)

Arguments

vars

selected variables to plot

start

Time of first observation should be entered in the format year,month or year,quarter e.g.( if your data is organized in months the 1992,1 for Jan 1992 or if your data is organized in quarters then 1992,1 refers to the first quarter of 1992.

frequency

Number of observations in unit time. Example: for monthly there are 12 observation in a year. For quarterly there are 4 observation in a year.

plot.type

"multiple" for separate and "single" for combined plot.

naturalLogYaxis

if TRUE an Y axis is shown as natural log value.

main

main title of the plot

ylab

title for the y axis

dataset

the name of the dataset from which the vars has been picked.


BlueSkyStatistics/BlueSky documentation built on Jan. 29, 2025, 4:15 p.m.