Skip to content

Commit fd7cb6a

Browse files
Update README.Rmd (#715)
* Update README.Rmd `data` should equal to `dat` rather than `.` * Regenerate README Co-authored-by: Julia Silge <[email protected]>
1 parent 083fd9a commit fd7cb6a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ One challenge with different modeling functions available in R _that do the same
5050
# From randomForest
5151
rf_1 <- randomForest(
5252
y ~ .,
53-
data = .,
53+
data = dat,
5454
mtry = 10,
5555
ntree = 2000,
5656
importance = TRUE

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ might have:
4545
# From randomForest
4646
rf_1 <- randomForest(
4747
y ~ .,
48-
data = .,
48+
data = dat,
4949
mtry = 10,
5050
ntree = 2000,
5151
importance = TRUE
@@ -140,7 +140,6 @@ rand_forest(mtry = 10, trees = 2000) %>%
140140
fit(mpg ~ ., data = mtcars)
141141
#> parsnip model object
142142
#>
143-
#> Fit time: 45ms
144143
#> Ranger result
145144
#>
146145
#> Call:

0 commit comments

Comments
 (0)