Learn R Programming

dupiR (version 1.2.1)

compute_ecdf: Compute ECDF (empirical cumulative distribution function)

Description

Compute ECDF (empirical cumulative distribution function)

Usage

compute_ecdf(posterior)

Value

numeric vector with empirical cumulative distribution function (cumulative sum of posterior)

Arguments

posterior

numeric vector of posterior probabilities over the prior support