Learn R Programming

BNPdensity (version 0.7.8)

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
## 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