predict.rsfit: predict.rsfit get the predicted relative contrast function

Description Usage Arguments Value Author(s) References

View source: R/predict.R

Description

predict.rsfit get the predicted relative contrast function

Usage

1
2
## S3 method for class 'rsfit'
predict(fit, newx, lossType = "logistic", type = "transformed")

Arguments

fit

the list fit in the output of rsfit.

newx

input matrix of dimension nobs x nvars. Each raw is a new observation, each column is a covariate

Value

A Array

A array includes all predictions.

Author(s)

Muxuan Liang

References

Muxuan Liang, Menggang Yu (2022). Relative Contrast Estimation and Inference for Treatment Recommendation.


muxuanliang/RSICF documentation built on Feb. 1, 2022, 12:30 a.m.