bpcp2sampControl | R Documentation |
bpcp2samp
Call function to change any one of options, and outputs a list with all defaults except argument that you changed.
bpcp2sampControl(Delta = 0, stype = "km", eps = 10^-8, nmc=10^6, method="mm.mc", seed=391291)
Delta |
width of grouped confidence intervals, defaults to 0 |
stype |
type of survival estimate, either "km" for Kaplan-Meier or "mue" for median unbiased estimator |
eps |
small value to make integration tractable |
nmc |
number of Monte Carlo replications |
method |
either 'mm.mc' (method of moments for one sample, meld with Monte Carlo) or 'mc.mc' (Monte Carlo for one sample and melding), see details. |
seed |
random number seed, if NULL do not set random number seed |
We set the seed by default, so that the same data set will always give the same results. If you are doing simulations, this setting of the seed will give problems. So use seed=NULL.
For method='mm.mc' this is shorthand for calculate the method of moments for one sample, and meld together the two sampling using Monte Carlo methodss; however, technically, that is only done when midp=TRUE, if midp=FALSE then the melding uses numeric integration.
A list containing the 6 arguments.
bpcp2samp
bpcp2sampControl(Delta=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.