Assignment workshop 2

ggplot(mtcars, aes(x = wt, y = mpg)) +
geom_point() +
ggtitle("Scatter Plot of MPG vs. Weight", subtitle = "Your Name - Your Student ID")

Did you have a question about the code you posted? If you make it

library(ggplot2)
ggplot(mtcars, aes(x = wt, y = mpg)) +
  geom_point() +
  ggtitle(
    "Scatter Plot of MPG vs. Weight",
    subtitle = "Your Name - Your Student ID"
  )

it will work and produce a scatterplot in RStudio's plot pane.