plotRN_phaseSeries: Phase Series plot

plotRN_phaseSeriesR Documentation

Phase Series plot

Description

Plot the sequence of phases as a time series.

Usage

plotRN_phaseSeries(
  phaseOutput,
  showEpochLegend = TRUE,
  epochColours = NULL,
  epochLabel = "Phase",
  excludeOther = FALSE,
  excludeNorec = TRUE,
  excludeVars = "",
  excludePhases = "",
  plotCentroid = FALSE,
  returnGraph = FALSE
)

Arguments

phaseOutput

Output from function rn_phases

excludeOther

Exclude the default Phase "Other"

excludeNorec

Exclude the default Phase "No recurrence"

excludeVars

Exclude specific dimension variables by name. Leave empty to include all variables (default = "")

excludePhases

Exclude Phases by their name (variable phase_name). Leave empty to include all Phases (after excludeOther and excludeNorec) (default = "")

Value

phase density plot

Examples


RN <- rn(y1 = rnorm(100), weighted = TRUE)
phase_out <- rn_phases(RN)
plotRN_phaseDensity(phase_out)



FredHasselman/casnet documentation built on April 20, 2024, 3:05 p.m.