Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use ftable function to prepare the pivot table of training set with Online as a column variable, CC as a row variable, and Loan
Use ftable function to prepare the pivot table of training set with Online as a column variable, CC as a row variable, and Loan as a secondary row variable with a command like: ftable(Credit Card, Personal.Loan, Online) The table you will return will be like: #> ftable(Credit Card, Personal.Loan, Online) # Online 01 #Credit Card Personal.Loan #0 0 793 1140 #. 1 79 128 # 1 0 312 461 # 1 42 45
Step by Step Solution
There are 3 Steps involved in it
Step: 1
It looks like you want to create a pivot table using the ftable functi...
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started