r-lib / generics
Showing 1 of 3 files from the diff.
Newly tracked file
R/min_grid.R created.
Other files ignored by Codecov
NAMESPACE has changed.

@@ -0,0 +1,16 @@
Loading
1 +
#' Determine the minimum set of model fits
2 +
#'
3 +
#' `min_grid()` determines exactly what models should be fit in order to
4 +
#'  evaluate the entire set of tuning parameter combinations. This is for
5 +
#'  internal use only and the API may change in the near future.
6 +
#' @param x A model specification.
7 +
#' @param grid A tibble with tuning parameter combinations.
8 +
#' @param ... Not currently used.
9 +
#' @return A tibble with the minimum tuning parameters to fit and an additional
10 +
#' list column with the parameter combinations used for prediction.
11 +
#' @section Methods:
12 +
#' \Sexpr[stage=render,results=rd]{generics:::methods_rd("min_grid")}
13 +
#' @export
14 +
min_grid <- function(x, grid, ...) {
15 +
  UseMethod("min_grid")
16 +
}
Files Coverage
R 60.80%
Project Totals (29 files) 60.80%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
        informational: true
10
    patch:
11
      default:
12
        target: auto
13
        threshold: 1%
14
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading