Skip to content

Commit 6270741

Browse files
committed
load dplyr for count()
1 parent a316bb2 commit 6270741

File tree

6 files changed

+14
-0
lines changed

6 files changed

+14
-0
lines changed

R/adjust-equivocal-zone.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#' not risk data leakage.
1818
#'
1919
#' @examplesIf rlang::is_installed("modeldata")
20+
#' library(dplyr)
2021
#' library(modeldata)
2122
#'
2223
#' head(two_class_example)

R/tailor.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#' The column names of class probability estimates. These should be given in
3737
#' the order of the factor levels of the `estimate`.
3838
#' @examplesIf rlang::is_installed("modeldata")
39+
#' library(dplyr)
3940
#' library(modeldata)
4041
#'
4142
#' # `predicted` gives hard class predictions based on probabilities

README.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ The `two_class_example` dataset from modeldata gives the true value of an outcom
4949

5050
```{r}
5151
library(modeldata)
52+
library(dplyr)
5253
5354
head(two_class_example)
5455
```

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ and `Class2`). The hard class predictions, in `predicted`, are
5454

5555
``` r
5656
library(modeldata)
57+
library(dplyr)
58+
#>
59+
#> Attaching package: 'dplyr'
60+
#> The following objects are masked from 'package:stats':
61+
#>
62+
#> filter, lag
63+
#> The following objects are masked from 'package:base':
64+
#>
65+
#> intersect, setdiff, setequal, union
5766

5867
head(two_class_example)
5968
#> truth Class1 Class2 predicted

man/adjust_equivocal_zone.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tailor.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)