Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is the code for creating the custom group. real_dataset2$cust_grp

This is the code for creating the custom group.

real_dataset2$cust_grp <- findInterval(real_dataset2$num_cust, c(101, 1001, 5001, 100000)) (Rstudio on a chromebook)

num_cust

Estimated number of customers

1-100

101-1000

1000-5000

5001+ [unknown as 0]

I am stuck at creating a code for

sales_type Primary type of sales

1: online_wholesale

2: direct_wholesale

3: online_retail

4: direct_retail

5: mixed

[unknown as 0]

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

Probability and Random Processes With Applications to Signal Processing and Communications

Authors: Scott Miller, Donald Childers

2nd edition

123869811, 978-0121726515, 121726517, 978-0130200716, 978-0123869814

More Books

Students also viewed these Mathematics questions