Question: 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
It looks like you want to create a pivot table using the ftable functi... View full answer
Get step-by-step solutions from verified subject matter experts
