Learn R Programming

dsa (version 1.0.12)

freq_xts: Obtain the frequency of an xts time series

Description

Estimate the number of periods per year of an xts time series

Usage

freq_xts(series)

Arguments

series

time series

Examples

Run this code
# NOT RUN {
x <- xts::xts(rnorm(100), seq.Date(from=as.Date("2010-01-01"), by="months", length.out=100))
frequency(x)
# }

Run the code above in your browser using DataLab