tf_dagum: The Dagum transformation function

Description Usage Arguments Value Examples

View source: R/responsefunctions.R

Description

An implementation of the CDF for the Dagum distribution.

Usage

1
tf_dagum(x, a = 1, b = 1, p = 1)

Arguments

x

value to transform

a

the scale parameter

b

the first shape parameter

p

the second shape parameter

Value

x transformed

Examples

1
2
3
library(ggplot2)
ggplot(data.frame(x = c(0, 4)), aes(x)) +
  stat_function(fun = function(x) tf_dagum(x, 1, 2, 2))

DoktorMike/datools documentation built on Feb. 28, 2021, 8:39 a.m.