Autoplot a SpectralDensityView S3 object
autoplot.SpectralDensityView.Rd
Autoplot a SpectralDensityView S3 object
Arguments
- object
SpectralDensityView
object.- period_range
tuple for limiting range of periods.
- colour
name of line colour.
- ...
ignored.
Examples
r <- get_sample_recording()
rv <- get_raw_view(r, "Central", "", "Sitar")
pv <- get_processed_view(rv)
sd1 <- spectral_density(pv, columns = c("LElbow_x", "LEye_x"), spans = 5)
autoplot(sd1)
fv <- apply_filter_sgolay(pv, data_points = c("LElbow", "LEye"), n = 19, p = 4)
sd2 <- spectral_density(fv, data_points = c("LElbow", "LEye"), spans = c(3, 3))
autoplot(sd2)