Trebuchet | R Documentation |
Measurements from an experiment that involved firing projectiles with a small trebuchet under different conditions.
Data frames with the following variables.
the object serving as projectilebean
big
washerb
bigWash
BWB
foose
golf
MWB
SWB
tennis ball
wood
weight of projectile (in grams)
weight of counter weight (in kg)
distance projectile traveled (in cm)
a factor with levels a
b
B
c
describing the configuration of the trebuchet.
Trebuchet1
and Trebuchet2
are subsets of Trebuchet
restricted
to a single value of counterWt
Data collected by Andrew Pruim as part of a Science Olympiad competition.
data(Trebuchet); data(Trebuchet1); data(Trebuchet2)
gf_point(distance ~ projectileWt, data = Trebuchet1)
gf_point(distance ~ projectileWt, data = Trebuchet2)
gf_point(distance ~ projectileWt, color = ~ factor(counterWt), data = Trebuchet) %>%
gf_smooth(alpha = 0.2, fill = ~factor(counterWt))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.