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 (afterexcludeOther
andexcludeNorec
) (default =""
)
Examples
RN <- rn(y1 = rnorm(100), weighted = TRUE)
#> Set `weightedBy` to 'si' due to the value of `weighted`
phase_out <- rn_phases(RN)
#> Error in igraph::graph_from_adjacency_matrix(RN, weighted = weighted, mode = ifelse(directed, "directed", "undirected")): `arg` must be a single string, not a character `NA`.
plotRN_phaseDensity(phase_out)
#> Error: object 'phase_out' not found