R/data_documentation.R

#' An exemplary dataset of a 4x4 crossover design with 2 squares
#'
#' Milk yield records from 8 cows over 4 different periods in a 4x4 crossover design.
#' The design includes 2 Latin squares, each consisting of 4 cows and 4 periods.
#'
#' @format A data frame with 32 rows and 4 variables:
#' \describe{
#'   \item{Cow}{Factor: Cow index (8 levels)}
#'   \item{Period}{Factor: Period index (4 levels)}
#'   \item{Treatment}{Factor: Treatment index (4 levels)}
#'   \item{MilkYield}{Numeric: milk yield recordings (in kg)}
#' }
#' @source Simulated data for package demonstration purposes.
"milk"

Try the pwr4exp package in your browser

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

pwr4exp documentation built on April 4, 2025, 1:46 a.m.