Learn R Programming

BNPdensity (version 2019.7.9)

cpo: Conditional predictive ordinate function

Description

This function computes conditional predictive ordinates for each datapoint.

Usage

cpo(obj)

Arguments

Details

For internal use.

Examples

Run this code
# NOT RUN {
## The function is currently defined as
function (obj) 
{
    fx <- obj$fx
    cpo <- 1/apply(1/fx, 1, mean)
    return(cpo)
  }
# }

Run the code above in your browser using DataLab