Skip to content
This repository was archived by the owner on Oct 5, 2025. It is now read-only.

Commit 7f6ffc5

Browse files
committed
use msdata::mlc_churn data replacing C50::churn
1 parent bfccc7c commit 7f6ffc5

File tree

16 files changed

+2561
-70
lines changed

16 files changed

+2561
-70
lines changed

10-data.Rmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ of customer attrition.
142142
In R:
143143

144144
```{r}
145-
library("C50")
146-
data(churn)
147-
dim(churnTrain)
148-
dim(churnTest)
145+
library("modeldata")
146+
data(mlc_churn, package = "modeldata")
147+
churnTrain <- mlc_churn[1:3333, ]
148+
churnTest <- mlc_churn[3334:5000, ]
149149
```
150150

151151

0 commit comments

Comments
 (0)