R/data.R

#' Pacific Decadal Oscillation Index
#'
#' Monthly Pacific Decadal Oscillation (PDO) index values.
#'
#' For more information see <https://github.com/poissonconsulting/rpdo>.
#'
#' @format A tbl data frame:
#' \describe{
#'   \item{Year}{The year as an integer.}
#'   \item{Month}{The month as an integer.}
#'   \item{PDO}{The Pacific Decadal Oscillation index as a numeric.}
#' }
#' @examples
#' library(rpdo)
#' library(ggplot2)
#'
#' data(pdo)
#' ggplot(data = subset(pdo, pdo$Month == 1), aes(x = Year, y = PDO)) +
#'   geom_line() +
#'   ylab("January PDO Index")
"pdo"

Try the rpdo package in your browser

Any scripts or data that you put into this service are public.

rpdo documentation built on Aug. 22, 2023, 5:11 p.m.