Description Usage Arguments Value Examples
Perform exact tnl.
Gives the distribution function
1 2 3 |
k |
Vector of quantiles. |
n |
Sample size. |
l |
The class parameter of Tnl. |
trial |
The number of trials. |
list of an exact probability and distribution function.
The value of the distribution against the specified k
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ##You need to select all of \code{k}, \code{n} and \code{l}
tnl(k=2,n=7,l=1)
## Not run:
$prob
[1] 0.1538462
$tt
[1] 0.2307692
## End(Not run)
## Not run: You need to select all of \code{k}, \code{n} and \code{l}
## Not run: \code{trial}=100000 by default
ptnl(k=2,n=6,l=2,trial = 100000)
## Not run:
$k
[1] 2
$n
[1] 6
$l
[1] 2
$method
[1] "exact"
$ptnl
[1] 0.03030303
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.