3. Explore the RStudio environment, as explained in this chapter. Create a file called chicken.R that contains
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) +
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 Answer:
Related Book For
Practical Machine Learning In R
ISBN: 9781119591535
1st Edition
Authors: Fred Nwanganga, Mike Chapple
Question Posted: