Plot Cumulative Complexity Peaks
plotDC_ccp(
df_ccp,
win,
useVarNames = TRUE,
colOrder = TRUE,
useTimeVector = NA,
timeStamp = "31-01-1999",
doPlot = TRUE,
markID = NA,
NAdates = 1:(win - 1),
title = "Critical Instability Plot",
resVariable = "",
subtitle = "",
markIDcolour = "red",
markIDlabel = "Time points of interest marked red",
markIDalpha = 0.5,
xlabel = "Time",
ylabel = "",
trimFirstWin = TRUE
)
A dataframe generated by dc_ccp()
Size of window in which to calculate Dynamic Complexity. If win < NROW(df)
the window will move along the time series with a stepsize of 1
(default = NROW(df)
)
Use the column names of df
as variable names in the Complexity Resonance Diagram (default = TRUE
)
If TRUE
, the order of the columns in df
determines the of variables on the y-axis. Use FALSE
for alphabetic/numeric order. Use NA
to sort by by mean value of Dynamic Complexity (default = TRUE
)
Parameter used for plotting. A vector of length NROW(df)
, containing date/time information (default = NA
)
If useTimeVector
is not NA
, a character string that can be passed to lubridate::stamp()
to format the the dates/times passed in useTimeVector
(default = "01-01-1999"
)
If TRUE
shows a Complexity Resonance Diagram of the Dynamic Complexity and returns an invisible ggplot2::ggplot()
object. (default = FALSE
)
Numeric vector of integers in the range [length of window, length of timeseries]
. Vertical lines will be drawn at these indices (default = NA
)
Should some dates be considered NA
? Provide a numerical vector with indices, the default is to set 1:(win-1)
to NA. (default = 1:(win-1)
)
A title for the plot.
Variable displayed in the plot.
A subtitle for the plot.
Colour of time point markers (default = "red"
)
Label added to subtitle explaining time point markers (default = Time points of interest marked red
)
Alpha of time point marker colour (default = .5
)
A label for the x-axis.
A label for the y-axis.
Display the first empty window (1:win-1
)? (default = TRUE
)
An invisible ggplot2 object.
Other Dynamic Complexity functions:
dc_ccp()
,
dc_d()
,
dc_f()
,
dc_win()
,
plotDC_lvl()
,
plotDC_res()