tnl.sim: The Tnl simulation function.

Description Usage Arguments Value Examples

View source: R/testpackage.R

Description

Perform simulated tnl.

Usage

1
tnl.sim(k, n, l, trial = 1e+05)

Arguments

k

Vector of quantiles.

n

Sample size.

l

The class parameter of Tnl.

trial

The number of trials.

Value

list of simulated probability and distribution function.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: You need to select all of \code{k}, \code{n} and \code{l}
## Not run: \code{trial}=100000 by default
tnl.sim(k=2,n=7,l=1)
## Not run: 
$prob
[1] 0.15476

$tt
[1] 0.23158

## End(Not run)

ihababusaif/testpackage documentation built on Dec. 20, 2021, 6:55 p.m.