pgk_scalar: Distribution function for the g-and-k distribution

View source: R/pgk.R

pgk_scalarR Documentation

Distribution function for the g-and-k distribution

Description

Distribution function for the g-and-k distribution

Usage

pgk_scalar(q, A, B, g, k, c = 0.8, zscale = FALSE)

Arguments

q

Quantiles.

A

A (location) parameter.

B

B (scale) parameter. Must be positive.

g

g parameter.

k

k parameter. Must be at least -0.5.

c

c parameter. Often fixed at 0.8 which is the default.

zscale

When true returns the N(0,1) quantile of the cdf (needed by dgk).

Details

This internal function performs the calculation assuming scalar inputs. The exported function is a vectorised wrapper of this.

Value

The cumulative probability.


dennisprangle/gk documentation built on July 27, 2023, 11:36 p.m.