percent_days_op_threshold {rIACI} | R Documentation |
Percent of Days Above or Below Threshold
Description
Calculates the percentage of days exceeding or below a threshold.
Usage
percent_days_op_threshold(
temp,
dates,
month_day,
date_factor,
quantiles_df,
qtile,
op = "<",
max_missing_days
)
Arguments
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. |
Value
Numeric vector or data frame with calculated percentages.
[Package rIACI version 1.0.0 Index]