Question: Original Question was: R question: Load the library ggplot2: library(ggplot2) Use the dataset mpg. Load the dataset: data(mpg) Using a crosstabulation for manufacturer name (variable
Original Question was: R question: Load the library ggplot2: library(ggplot2) Use the dataset mpg. Load the dataset: data(mpg) Using a crosstabulation for manufacturer name (variable name = manufacturer) and car type (variable name = class). Answer the following (use only whole numbers, no period or comma): a) how many compact cars in the sample are from Volkswagen? 14 b) how many Toyota pickup cars are in the sample? 7 c) What is the total number of subcompact type cars in the sample? 35
Follow up question to solve:
(round to two-digit decimal places):
a. What percent of the SUV cars in the sample are from toyota?
b. What percent of the toyota cars in the sample are SUVs?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
