A basic experiment
ToothGrowth
is a built-in R dataset from a study that examined the effect of three different doses of Vitamin C on the length of the odontoplasts, the cells responsible for teeth growth in 60 guinea pigs, where tooth length was the measured outcome variable.
Let's load ToothGrowth
into our environment,do some exploratory data analysis, and perform a t-test to get an idea of the purpose of a basic experiment.
This exercise is part of the course
Experimental Design in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Load the ToothGrowth dataset
data(___)
# View the first 6 rows of ToothGrowth
___(___)