Question: use R programming to solve Problem 2. The following table presents the information about customers of a company. Table 3: Customer Information 1. [0.5 point]

use R programming to solve

use R programming to solve Problem 2. The following table presents the

Problem 2. The following table presents the information about customers of a company. Table 3: Customer Information 1. [0.5 point] Store the customer ID column in a vector named cus ID. 2. [1 point] Define a vector named cus age to store the customers' age. We are informed that the age of the customer 333 is inaccurate in table 3. The right age is 45 . After creating the cus age vector, please use R commands to update the vector. 3. [1 point] Store the data on customer annual income in a vector named cus income. 4. [1 point] Find the variance and 70th percentile of the customers' annual incomes, ignoring the missing value. Store these values in variables var income and percentile70_income. 5. [1 point] Use relational operations to obtain a logical vector that shows TRUE if a customer's annual income is above the percentile70_income. Name the vector high income. 6. [1.5 point] Create a data frame that contains the cus ID, cus age, and high income columns. Name your data frame cus information

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!