05.09.2019

Results from an Experiment on Plant Growth

The R dataset contains results from an experiment to compare yields (as measured by dried weight of plants) obtained under a control and two different treatment conditions. It is a data frame of 30 cases on 2 variables.

Load package and data

library(plotly)
data("PlantGrowth")

Draw plot

plot_ly(PlantGrowth, y = ~weight, color = ~group, type = "box") %>% 
    layout(title = 'Plant Growht per group')

Source

Dobson, A. J. (1983) An Introduction to Statistical Modelling. London: Chapman and Hall.

This plot was an exercise for the course “Developing Data Products” from Johns Hopkins on Coursera.