Solved *******THE PROGRAM BEING USED IS R SO PLEASE TYPE IN

*******THE PROGRAM BEING USED IS R SO PLEASE TYPE IN RSTUDIO FORMAT********

*******THE PROGRAM BEING USED IS R SO PLEASE TYPE IN RSTUDIO FORMAT********

# The mpg dataset contains fuel economy information for various automobiles.

# The dataset is provided by the tidyverse, so no CSV file is needed.

# Run help(mpg) for more details about this dataset.

help(mpg)

# Setup: # 1. Load the tidyverse

install.packages(“tidyverse”)

library(tidyverse)

1: # What is the probability that a vehicle is a Jeep and has a 6-cylinder engine?

# Hint: The cyl variable will contain 6 for any such vehicle

2: # What is the probability that a vehicle is a Dodge and a pickup?

# Hint: The class variable will contain pickup for any such vehicles.

3: # What is the probability that a vehicle in the dataset is a Ford and an SUV?

# Hint: The class variable will contain SUVs for any such vehicles.

4: # What is the probability that a vehicle is a Jeep given that it has a 6-cylinder engine?

5: # What is the probability that a vehicle is a pickup given that it is a Dodge?

*******THE PROGRAM BEING USED IS R SO PLEASE TYPE IN RSTUDIO FORMAT*******

********THE PROGRAM BEING USED IS R SO PLEASE TYPE IN RSTUDIO FORMAT********

Read more here: Source link