Learn R Programming

ctsfeatures (version 1.2.2)

plot_se: Represents the spectral envelope of a categorical time series

Description

plot_se represents the spectral envelope of a categorical time series

Usage

plot_se(series)

Value

Returns returns a plot of the spectral envelope.

Arguments

series

An object of type tsibble (see R package tsibble), whose column named Value contains the values of the corresponding CTS. This column must be of class factor and its levels must be determined by the range of the CTS.

Author

Ángel López-Oriona, José A. Vilar

Details

The function represents the spectral envelope of a categorical time series

References

stoffer1993spectralctsfeatures

Examples

Run this code
sequence_1 <- GeneticSequences[which(GeneticSequences$Series==1),]
plot_se(sequence_1)
# Representing the spectral envelope for the first series in dataset
# GeneticSequences

Run the code above in your browser using DataLab