% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-documentation.R
\name{pig_weight_gain}
\alias{pig_weight_gain}
\title{Weight Gain in Pigs for Different Treatments}
\format{
A data frame with 30 observations and 10 variables:
\describe{
  \item{pen}{Factor w/ 5 levels indicating the pen}
  \item{treatment}{Factor w/ 3 levels indicating the treatment}
  \item{pig}{Integer vector indicating the pig identifier}
  \item{sex}{Factor w/ 2 levels indicating the sex}
  \item{weight1}{Numeric vector indicating the initial weight}
  \item{weight2}{Numeric vector indicating the final weight}
  \item{feed}{Numeric vector indicating the feed consumption}
  \item{w0}{Integer vector indicating the adjusted initial weight}
  \item{g}{Numeric vector indicating the average daily gain}
  \item{h}{Numeric vector indicating the feed conversion ratio}
}
}
\source{
Data taken from the agridat package version 1.26
}
\usage{
data(pig_weight_gain)
}
\description{
This dataset, pig_weight_gain, is a data frame containing weight gain
data in pigs for different treatments. It includes information on pen,
treatment, pig identifier, sex, initial weight, final weight, feed
consumption, adjusted initial weight, average daily gain, and feed
conversion ratio.
}
\details{
The dataset name has been kept as 'pig_weight_gain' to avoid confusion
with other datasets in the R ecosystem. This naming convention helps
distinguish this dataset as part of the agridatasets package and assists
users in identifying its specific characteristics.
}
