adjustBaseDF: adjustBaseDF

Description Usage Arguments Value Author(s) Examples

View source: R/Machine_Learning_R_Telco_Customer_Churn.R

Description

Removes the following columns from the baseDF data frame deemed irrelevant for modeling and price optimization purposes:

customerID, PaperlessBilling, PaymentMethod, TotalCharges

Also sets the row IDs to that of the values in the customerID column.

Usage

1
adjustBaseDF(baseDF)

Arguments

baseDF

The data frame created and returned by the createBaseDataFrame function. It must be one built from the Telco_Customer_Churn or else an error will occur if this function is invoked.

Value

adjustedDF

A data frame with the now modified row IDs and certain deemed irrelevant columns removed.

Author(s)

Maxence Brette

Examples

1
##adjustBaseDF(baseDF)

Xnonr/RMachineLearningTelcoCustomerChurn documentation built on Dec. 18, 2021, 7:23 p.m.