Rat | R Documentation |
The Rat dataset contains data from an experiment to study the effect of a dietary supplement on the gain in weight of rats. There were five different treatments (representing different amounts of the supplement) and 20 rats were allocated at random, four to each treatment.
Rat
A data frame with 20 observations on the following two variables:
a factor specifying which of 5 different diets was fed to each rat.
a numerical vector recording the gain in weight of each rat.
VSN International (2014). Genstat for Windows 17th Edition. VSN International, Hemel Hempstead, UK. Web page: Genstat.co.uk
data(Rat,package="vsnc")
moda <- aov(weight ~ diet,data=Rat)
summary(moda)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.