Predict from a cate_result object at new targets
Source: R/user-dnn-cate-methods.R
predict.cate_result.RdPredict from a cate_result object at new targets
Arguments
- object
A
cate_resultobject fromcate_dnn().- newdata
Optional matrix/data frame of target covariates.
- X0
Optional numeric matrix of targets (rows).
- x0
Optional numeric vector for a single target.
- se.fit
Logical; if
TRUE, also return jackknife standard errors.- interval
One of
"none"or"confidence".- level
Confidence level for interval output.
- ...
Not used.
Value
If interval = "none" and se.fit = FALSE, a numeric vector of
predictions. Otherwise a matrix/list analogous to predict.lm().