Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Load Packages and Data The R code chunk below will load the tidyverse and tidymodels packages as well as an auto_claims data set. library(tidyverse) auto_claims

Load Packages and Data The R code chunk below will load the tidyverse and tidymodels packages as well as an auto_claims data set.

library(tidyverse)

auto_claims <- read_rds('E:/RDataFiles/auto_claims.rds')

---------------------------------------------------------------------------------------------

Write one expression using dplyr functions and the %>% operator to create the summary table below, and arrange it based on the customer state. This table contains the number of claims, maximum claim amount (total_claim_amount variable), and minimum customer lifetime value by customer_state and months_since_last_claim binned into 12 month categories.

-----------------------------------------------------------------------------------------------

Write one expression using dplyr functions and the %>% operator to create the summary table below. This table contains the average, median, and maximum values of total_claim_amount by vehicle_class

----------------------------------------------------------------------------------------------

Use ggplot to create the data visualization below. Please use alpha = 0.25 and color = #006633 within your geom function to match the points below

---------------------------------------------------------------------------------------------

Use ggplot to create the data visualization below.Width value is 0.07 and the aplha value is 0.1

------------------------------------------------------------------------------------------------

Use ggplot to create the data visualization below. The number of bins in the histogram should be set to 15.

----------------------------------------------------------------------------------------------

Use ggplot to create the data visualization below.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

2 . ( Microfluidics )

Answered: 1 week ago

Question

2. What type of team would you recommend?

Answered: 1 week ago