DBIsvydesign
objects. Add several warnings, errors, documentation notes, and test cases.folds.svydesign()
and cv.svydesign()
to extract information from svydesign
objects more safely, enabling them to work with srvyr
package as well as designs that have been subsetted (e.g. with subset()
) or updated (e.g. with update()
or transform()
).cv.svydesign()
to extract information from a DBIsvydesign
object. (Currently, just turns it into a regular svydesign
object after extracting the minimal necessary data.frame
. Dealing with DBIsvydesign
objects natively is on the to-do list.)folds.svy()
and folds.svydesign()
functions directly accessible and documented, so that users can form survey-design-based CV folds and use them with other models besides svyglm
.intro
vignette illustrating how to use folds.svy()
with design-consistent random forest models from the rpms
package.example()
to function documentation.na.rm
arguments, passed internally to svymean
when calculating average of CV test losses.early-results
vignette based on code in R/plot_generation.R
, to be removed before CRAN submission.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.