plot_reg | R Documentation |
plot_reg
constructs the rate evolution graph
proposed by \insertCiteribler1997visualizing;textualctsfeatures.
plot_reg(
series,
title = "Rate evolution graph",
linear_fit = FALSE,
cat_res = NULL,
...
)
series |
An object of type |
title |
The title of the graph. |
linear_fit |
Logical. I |
cat_res |
If this parameter is set to any of the categories of the series, then the function returns a graph of residuals for the linear model associated with the corresponding category |
... |
Additional parameters for the function. |
Given a CTS of length T
with range \mathcal{V}=\{1, 2, \ldots, r\}
,
\overline{X}_t=\{\overline{X}_1,\ldots, \overline{X}_T\}
, and the
corresponding binarized time series, \overline{\boldsymbol Y}_t=\{\overline{\boldsymbol Y}_1, \ldots, \overline{\boldsymbol Y}_T\}
,
the function constructs the rate evolution graph. Specifically, consider the
series of cumulated sums given by \overline{\boldsymbol C}_t=\{\overline{\boldsymbol C}_1, \ldots, \overline{\boldsymbol C}_T\}
, with
\overline{\boldsymbol C}_k=\sum_{s=1}^{k}\overline{\boldsymbol Y}_s
,
k=1,\ldots,T
. The rate evolution graph displays a standard time series
plot for each one of the components of \overline{\boldsymbol C}_t
simultaneously in one graph.
The rate evolution graph.
Ángel López-Oriona, José A. Vilar
ribler1997visualizingctsfeatures
sequence_1 <- GeneticSequences[which(GeneticSequences$Series==1),]
reg <- plot_reg(sequence_1) # Constructing the rate
# evolution graph for the first time series in dataset GeneticSequences
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.