Description Usage Arguments Value Examples
Compute quantile function of a shifted distribution
1 |
dist |
dist character string indicating distribution name. It can be set as:
|
numeric vector of the quantile function of a specified distribution
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # Negative Binomial distribution
qnb <- qshift("nbinom")
zero_shift <- qnb(p = c(0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1), size = 6, mu = 4, shift = 0)
zero_shift
one_shift <- qnb(p = c(0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1), size = 6, mu = 4, shift = 1)
one_shift
two_shift <- qnb(p = c(0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1), size = 6, mu = 4, shift = 2)
two_shift
# Chi Squared Distribution
qc <- qshift("chisq")
zero_shift <- qc(p = c(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1), df = 2, shift = 0)
zero_shift
one_shift <- qc(p = c(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1), df = 2, shift = 1)
one_shift
two_shift <- qc(p = c(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1), df = 2, shift = 2)
two_shift
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.