BNPdensity (version 2019.9.11)

phalft: Distribution function half Student-t

Description

Computes the cumulative distribution function.

Usage

phalft(q, df = 1, mean = 0, sd = 1)

Arguments

Details

For internal use

Examples

Run this code
# NOT RUN {
## The function is currently defined as
function(q, df = 1, mean = 0, sd = 1) {
  ifelse(x < 0, 0, 1) * (pt_(q, df, mean, sd) - pt_(
    0, df,
    mean, sd
  )) / (1 - pt_(0, df, mean, sd))
}
# }

Run the code above in your browser using DataCamp Workspace