View source: R/performance_analytics.R
| get_data_frequency | R Documentation |
Automatically detects whether data is daily, weekly, monthly, or quarterly based on date spacing.
get_data_frequency(dates)
dates |
Vector of Date objects |
Character string: "daily", "weekly", "monthly", or "quarterly"
data("sample_prices_weekly")
freq <- get_data_frequency(sample_prices_weekly$Date)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.