Stratified_cfg
is a configuration class for stratifying a covariate
and calculating statistics within each cell.
tidyhte::Model_cfg
-> Stratified_cfg
model_class
The class of the model, required for all classes
which inherit from Model_cfg
.
covariate
The name of the column in the dataset which corresponds to the covariate on which to stratify.
new()
Create a new Stratified_cfg
object with specified number of evaluation points.
Stratified_cfg$new(covariate)
covariate
The name of the column in the dataset which corresponds to the covariate on which to stratify.
Stratified_cfg$new(covariate = "test_covariate")
## ------------------------------------------------
## Method `Stratified_cfg$new`
## ------------------------------------------------
Stratified_cfg$new(covariate = "test_covariate")
#> <Stratified_cfg>
#> Inherits from: <Model_cfg>
#> Public:
#> clone: function (deep = FALSE)
#> covariate: test_covariate
#> initialize: function (covariate)
#> model_class: Stratified