Prediction based on distributional index model fit.
# S3 method for dindexfit
predict(
object,
data = NULL,
digits = 3,
interpolation = "linear",
asplitAvail = TRUE,
...
)DIM fit (object of class "dindexfit").
optional data.frame containing variables with which to
predict. In-sample predictions are returned if this is omitted.
number of decimal places for the predictive CDF.
interpolation method for univariate index Default is
"linear". Any other argument will select midpoint interpolation (see
'Details' in predict.idrfit). Has no effect for multivariate
index function.
use asplit for splitting arrays
(default is TRUE). Set to FALSE for R Versions < 3.6, where
asplit is not available.
further arguments passed to the index prediction function.
A list of predictions, as for predict.idrfit.
Examples in dindexm.