R/milk.R

#' Monthly milk production per cow
#'
#' Average monthly milk production per cow over 14 years (January 1962 - December 1975).
#'
#' @format Time series data
#' @references Cryer (1986) \emph{Time series analysis}, Duxbury Press:
#' Belmont.
#' @source Makridakis, Wheelwright and Hyndman (1998) \emph{Forecasting:
#' methods and applications}, John Wiley & Sons: New York. Chapter 2.
#' @keywords datasets
#' @examples
#' par(mfrow=c(2,1))
#' plot(milk,xlab="Year",ylab="pounds",
#'     main="Monthly milk production per cow")
#' milk.adj <- milk/monthdays(milk)*365.25/12
#' plot(milk.adj,xlab="Year",ylab="pounds",
#'     main="Adjusted monthly milk production per cow")
#'
"milk"

Try the fma package in your browser

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

fma documentation built on Feb. 16, 2023, 6:23 p.m.