R Dataset / Package Stat2Data / PigFeed

Documentation

On this Picostat.com statistics page, you will find information about the PigFeed data set which pertains to PigFeed. The PigFeed data set is found in the Stat2Data R package. You can load the PigFeed data set in R by issuing the following command at the console data("PigFeed"). This will load the data into a variable called PigFeed. If R says the PigFeed data set is not found, you can try installing the package by issuing this command install.packages("Stat2Data") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the PigFeed R data set. The size of this file is about 193 bytes.


PigFeed

Description

Effects of additives to pig feed on weight gain

Format

A dataset with 12 observations on the following 3 variables.

WgtGain Daily wight gain (hundredths of a pound over 1.00)
Antibiotic Antibiotic in the feed? No or Yes
B12 Vitamin B12 in the feed? No or Yes

Details

A scientist in Iowa was interested in additives to standard pig chow that might increase the rate at which the pigs gained weight. Two factors of interest were vitamin B12 and antibiotics. To perform the experiment, the scientist randomly assigned 12 pigs, three to each of the diet combinations (Antibiotic only, B12 only, both, and neither).

Source

Data are found in Statistical Methods by George W. Snedecor and William G. Cochran (1967). Ames, IA: The Iowa State University Press.

References

Original source is Iowa Agricultural Experiment Station (1952). Animal Husbandry Swine Nutrition Experiment No. 577.

--

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-30382.csv 193 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0