Learn R Programming

circularEV (version 0.1.1)

PolarPlotData: Polar plot of circular data

Description

Polar plot of circular data

Usage

PolarPlotData(
  Data,
  drc,
  thr = NULL,
  ylim = NULL,
  pointSize = 1,
  fontSize = 12,
  thrWidth = 4,
  thrColor = "#D45E1A"
)

Arguments

Data

Response variable

drc

Directional covariate

thr

Threshold values along thetaGrid

ylim

Range of values

pointSize

Size of points (observations)

fontSize

Font size

thrWidth

Threshold width

thrColor

Threshold colour

Value

Polar plot of circular data, possibly including a threshold

Examples

Run this code
# NOT RUN {
data(HsSP)
data(drc)

PolarPlotData(Data=HsSP, drc=drc, thr=NULL, pointSize=4, fontSize=14,
              thrWidth=4, ylim=c(0,max(HsSP)))

data(thresholdExampleML) # loads threshold example

PolarPlotData(Data=HsSP, drc=drc, thr=thresholdExampleML, pointSize=4,
              fontSize=12, thrWidth=4, ylim=c(0,max(HsSP)))
# }

Run the code above in your browser using DataLab