Description Usage Arguments Value Examples
Compute distribution function of a shifted distribution
1 |
dist |
character string indicating distribution name. It can be set as:
|
numeric vector of the distribution function of a specified distribution
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # Poisson Distribution
pp <- pshift("pois")
zero_shift <- pp(q = c(1,2,3,4,5), lambda = 1.5, shift = 0)
zero_shift
one_shift <- pp(q = c(1,2,3,4,5), lambda = 1.5, shift = 1)
one_shift
two_shift <- pp(q = c(1,2,3,4,5), lambda = 1.5, shift = 2)
two_shift
# Student t distribution
pt <- pshift("t")
zero_shift <- pt(q = c(1,2,3,4,5), df = 40, shift = 0)
zero_shift
one_shift <- pt(q = c(1,2,3,4,5), df = 40, shift = 1)
one_shift
two_shift <- pt(q = c(1,2,3,4,5), df = 40, shift = 2)
two_shift
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.