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)
width of grouped confidence intervals, defaults to 0
type of survival estimate, either "km" for Kaplan-Meier or "mue" for median unbiased estimator
small value to make integration tractable
number of Monte Carlo replications
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.
random number seed, if NULL do not set random number seed
A list containing the 6 arguments.
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.
# NOT RUN {
bpcp2sampControl(Delta=1)
# }
Run the code above in your browser using DataLab