predict.truncDeconv: Computes the Bayes Rule based on a 'truncDeconv' model fit

Description Usage Arguments

View source: R/asafGmodeling.R

Description

Computes the Bayes rule for truncDeconv model fit.

Usage

1
2
## S3 method for class 'truncDeconv'
predict(object, binned = FALSE, newX = NULL, ...)

Arguments

object

an object of class truncDeconv

binned

whether to return the binned Bayes rule, or the linear interpolation for the data/newX

newX

an optional new dataset to compute the Empirical Bayes Rule for


ammeir2/selectiveTweedy documentation built on May 24, 2019, 3:02 a.m.