Learn R Programming

RCBR (version 0.6.2)

predict.KW2: Prediction of Marginal Effects

Description

Given a fitted model by the rcbr NPMLE procedure predictions are made at new design points given by the newdata argument.

Usage

# S3 method for KW2
predict(object, ...)

Value

a vector pf predicted probabilities

Arguments

object

is the fitted NPMLE object

...

is expected to contain an argument newdata

See Also

bound.KW2 for a prediction function with bounds