cow {BayesDA} | R Documentation |
An experiment was conducted on 50 cows to estimate the effect of a feed additive (methionine hydroxy analog) on six outcomes related to the amount of milk fat produced by each cow. Four diets (treatments) were considered, corresponding to different levels of the additive, and three variables were recorded before treatment assignment: lactation number ( seasons of lactation), age, and initial weight of cow. Multiple randomizations were calculated, and choosen that one with `best balane', however that was defined.
data(cow)
A data frame with 50 observations on the following 10 variables.
level
lactation
age
initial.weight
dry
milk
fat
solids
final.weight
protein
data(cow) summary(cow) names(cow) # Investigating balance on pretreatment variables: with(cow, tapply(lactation, level, mean)) with(cow, tapply(age, level, mean))