gen_gk: g-and-k Points

Description Usage Arguments Value

View source: R/sample.R

Description

Generates points targeting a g-and-k distribution.

Usage

1
gen_gk(n, a = 0, b = 1, g = 0, k = 0)

Arguments

n

number of points to generate.

a

location parameter.

b

scale parameter (> 0).

g

skewness parameter.

k

tail-shape parameter (k > -0.5).

Value

n-vector containing the sampled points.


iris-yi-jiang/small.sample documentation built on Jan. 23, 2022, 12:46 p.m.