Question: 3. Explore the RStudio environment, as explained in this chapter. Create a file called chicken.R that contains the following R script: install.packages(tidyverse) library(tidyverse) ggplot(data=ChickWeight) +
3. Explore the RStudio environment, as explained in this chapter. Create a file called chicken.R that contains the following R script:
install.packages("tidyverse")
library(tidyverse)
ggplot(data=ChickWeight) +
geom_smooth(mapping=aes(x=Time, y=weight, color=Diet))
Execute your code. It should produce a graph of chicken weights as output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
