percent_days_op_threshold | R Documentation |
Calculates the percentage of days exceeding or below a threshold.
percent_days_op_threshold(
temp,
dates,
month_day,
date_factor,
quantiles_df,
qtile,
op = "<",
max_missing_days
)
temp |
Numeric vector. Temperature data. |
dates |
Date vector. Dates corresponding to the data. |
month_day |
Character vector. Month-day strings. |
date_factor |
Factor. Date grouping factor (e.g., monthly or annual). |
quantiles_df |
Data frame. Quantiles data. |
qtile |
Numeric. Quantile to use. |
op |
Character. Comparison operator, e.g., '<' or '>'. |
max_missing_days |
Named numeric vector. Maximum allowed missing days. |
Numeric vector or data frame with calculated percentages.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.