Learn R Programming

circularEV (version 0.1.1)

PlotRL: Plot of T-year levels

Description

Plot of T-year levels

Usage

PlotRL(
  RLBootList,
  Data,
  drc,
  thetaGrid = 1:360,
  TTs,
  whichPlot,
  alpha = 0.05,
  ylim = NULL,
  pointSize = 1,
  cex.axis = 15,
  cex.lab = 2,
  thrWidth = 2,
  thrColor = "#D45E1A",
  ylab = NULL
)

Arguments

RLBootList

List containing bootstrap estimates of T-year levels

Data

Response variable

drc

Directional covariate

thetaGrid

Grid values at which the estimation is performed

TTs

T-year levels. For example, TTs = c(100, 10000).

whichPlot

Index identifying which T-year level should be plotted from TTs. If TTs = c(100, 10000), then whichPlot=2 produces a plot for the 10000-year level

alpha

Significance level for the confidence intervals. Default to 0.05.

ylim

Range for the y-axis

pointSize

Size of points (observations)

cex.axis

Graphical parameter

cex.lab

Graphical parameter

thrWidth

Threshold width

thrColor

Threshold colour

ylab

y-axis label

Value

Plot of T-year levels.

See Also

SplineML and LocalEstim for examples.

Examples

Run this code
# NOT RUN {
## See also examples in vignettes:
# vignette("localMethods", package = "circularEV")
# vignette("splineML", package = "circularEV")
# }

Run the code above in your browser using DataLab