Beta
Table of Contents
The outline of your notebook will show up here. You can include headings in any text cell by starting a line with #
, ##
, ###
, etc., depending on the desired title hierarchy.
# Load the ggplot2 library library(ggplot2) # Create a data frame data <- data.frame(x = c(1, 2, 3, 4, 5), y = c(2, 4, 6, 8, 10)) # Create a scatter plot using ggplot ggplot(data, aes(x = x, y = y)) + geom_point() + labs(title = "Scatter Plot", x = "X-axis", y = "Y-axis")
# Write and run code here