We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bootstrap()
Partial matching requires to rename argument b of the internal bootstrap() function because it partially matches argument baseline:
b
baseline
options(mc.cores = parallel::detectCores(logical = FALSE)) data("df_gaussian", package = "projpred") df_gaussian <- df_gaussian[1:41, ] dat <- data.frame(y = df_gaussian$y, df_gaussian$x) library(rstanarm) rfit <- stan_glm(y ~ X1 + X2 + X3 + X4 + X5, data = dat, seed = 1140350788) library(projpred) vs <- varsel(rfit, nclusters = 3, nclusters_pred = 5, nterms_max = 1, seed = 46782345) smmry <- summary(vs, stats = "rmse", b = 1, seed = 1234)
gives
Error in .validate_baseline(object$refmodel, baseline, deltas) : Argument 'baseline' must be either 'ref' or 'best'.
Tested with projpred v2.1.1 (from CRAN).
The text was updated successfully, but these errors were encountered:
19d0a73
Merge pull request #321 from fweber144/fix_issue320
282ebd2
Fix issue #320
No branches or pull requests
Partial matching requires to rename argument
b
of the internalbootstrap()
function because it partially matches argumentbaseline
:gives
Tested with projpred v2.1.1 (from CRAN).
The text was updated successfully, but these errors were encountered: