Description Usage Arguments Value
View source: R/biomarker_sim.R
This function can be used to generate simulations in section 3.1
1 2 | biomarker_sim(n = 400, n.rep = 1, n.cutpoints = 100, seed = NULL,
parallel = TRUE)
|
n |
Number of samples |
n.rep |
Number of replications |
n.cutpoints |
Number of cutpoints between 0 and 0.0 |
A list with elements:
COVERAGE
A 5 by p by n array giving the coverage at each simulation.
COVERAGE[i, j, k]
is either 0 or 1 indicating weather the interval formed using
method i for rank j in simulation k covered its respective parameter
WIDTH
A 5 by p by n array giving the width of each interval in each simulation.
simnames
Name of each type of the 5 types of confidence intervals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.