% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/temperature.R
\name{ck_summer_days}
\alias{ck_summer_days}
\title{Summer Days}
\usage{
ck_summer_days(tmax, dates, period = "annual")
}
\arguments{
\item{tmax}{Numeric vector of daily maximum temperatures (degrees C).}

\item{dates}{Date vector of the same length as \code{tmax}.}

\item{period}{Character. Aggregation period: \code{"annual"} (default) or
\code{"monthly"}.}
}
\value{
A data frame with columns \code{period}, \code{value}, \code{index}, and \code{unit}.
}
\description{
Count the number of days where maximum temperature exceeds 25 degrees C.
}
\examples{
dates <- as.Date("2024-07-01") + 0:9
tmax <- c(22, 26, 28, 24, 30, 25, 27, 23, 31, 29)
ck_summer_days(tmax, dates)
}
