diff --git a/reference/as.matrix.projection.html b/reference/as.matrix.projection.html index ad7f3f358..ad80a4bb1 100644 --- a/reference/as.matrix.projection.html +++ b/reference/as.matrix.projection.html @@ -153,10 +153,7 @@
An \(S_{\mathrm{prj}} \times Q\) matrix of projected
draws, with \(S_{\mathrm{prj}}\) denoting the number of projected
-draws and \(Q\) the number of parameters. If allow_nonconst_wdraws_prj
is set to TRUE
, the weights of the projected draws are stored in an
+draws and \(Q\) the number of parameters. If allow_nonconst_wdraws_prj
is set to TRUE
, the weights of the projected draws are stored in an
attribute wdraws_prj
. (If allow_nonconst_wdraws_prj
is FALSE
,
projected draws with nonconstant weights cause an error.)
cv_folds()
returns a vector of length n
such that each element is
an integer between 1 and K
denoting which fold the corresponding data
-point belongs to. The return value of cv_ids()
depends on the out
argument. If out = "foldwise"
, the return value is a list
with K
elements, each being a list
with elements tr
and ts
giving the
+point belongs to. The return value of cv_ids()
depends on the out
argument. If out = "foldwise"
, the return value is a list
with K
elements, each being a list
with elements tr
and ts
giving the
training and test indices, respectively, for the corresponding fold. If
-out = "indices"
, the return value is a list
with elements tr
and ts
each being a list
with K
elements giving the training and test indices,
+out = "indices"
, the return value is a list
with elements tr
and ts
each being a list
with K
elements giving the training and test indices,
respectively, for each fold.
The cv_proportions()
function is only applicable if the ranking
object
-includes fold-wise predictor rankings (i.e., if it is based on a vsel
object created by cv_varsel()
with validate_search = TRUE
). If the
+includes fold-wise predictor rankings (i.e., if it is based on a vsel
object created by cv_varsel()
with validate_search = TRUE
). If the
ranking
object contains only a full-data predictor ranking (i.e., if it
is based on a vsel
object created by varsel()
or by cv_varsel()
, but
the latter with validate_search = FALSE
), then an error is thrown because
diff --git a/reference/refmodel-init-get.html b/reference/refmodel-init-get.html
index 0c9b910f3..f0aeaab30 100644
--- a/reference/refmodel-init-get.html
+++ b/reference/refmodel-init-get.html
@@ -330,10 +330,7 @@
An object that can be passed to all the functions that take the
reference model fit as the first argument, such as varsel()
,
cv_varsel()
, project()
, proj_linpred()
, and proj_predict()
.
-Usually, the returned object is of class refmodel
. However, if object
is NULL
, the returned object is of class datafit
as well as of class
+Usually, the returned object is of class refmodel
. However, if object
is NULL
, the returned object is of class datafit
as well as of class
refmodel
(with datafit
being first). Objects of class datafit
are
handled differently at several places throughout this package.
A single numeric value, giving the suggested submodel size (or NA
if the suggestion failed).
+A single numeric value, giving the suggested submodel size (or NA
if the suggestion failed).
The intercept is not counted by suggest_size()
, so a suggested size of