Final Assignment

P.Hset

2024-02-02

Description

In this project, I will use built-in pressure and cars datasets. Using these two datasets, I will create a plot and a table for this project.

Step-by-step guide

  • Loading the necessary libraries and datasets
  • Create the scatter plot showing the relationship of temperature and pressure
  • Create a table showing the speed and distance columns
library(ggplot2)
library(dplyr)
data(pressure)
data(cars)
ggplot(pressure, aes(temperature, pressure))+
  geom_point(color = "orange")+
  theme_classic()

DT::datatable(head(cars))