plotts.wge: Plot a time series realization

View source: R/plotts.wge.R

plotts.wgeR Documentation

Plot a time series realization

Description

Given a realization contained in a vector, this function plots it as a time series realization

Usage

plotts.wge(x,style = 0, xlab = "Time", ylab = "",main="",col='black',text_size=12,
lwd=0.75,cex=0.5,cex.lab=0.75,cex.axis=0.75,xlim=NULL,ylim=NULL)

Arguments

x

The vector containing the time series realization to be plotted

style

If style is 0 then a simple plot of the realization is rendered. If style is 1 then a ggplot is rendered.

xlab

A string that represents the x-axis label.

ylab

A string that represents the y-axis label.

main

A string that represents the main title.

col

Color of plot.

text_size

Text size.

lwd

Line width.

cex

See R documentation.

cex.lab

See R documentation.

cex.axis

See R documentation.

xlim

String giving x-axis plot limits.

ylim

String giving y-axis plot limits.

Value

Simply a plot of the realization

Author(s)

Wayne Woodward

References

"Applied Time Series Analysis with R, 2nd edition" by Woodward, Gray, and Elliott

Examples

data(sunspot2.0);plotts.wge(sunspot2.0)

tswge documentation built on Feb. 16, 2023, 6:51 p.m.