bootstrap
is a generic function for generating bootstrap replicates of the parameters
of a fitted statistical model.
bootstrap(object, B, ...)# S3 method for partsurvfit
bootstrap(object, B, max_errors = 0, silent = FALSE, ...)
Sampled values of the parameters.
A statistical model.
Number of bootstrap replications.
Further arguments passed to or from other methods. Currently unused.
Maximum number of errors that are allowed when fitting statistical models during the bootstrap procedure. This argument may be useful if, for instance, the model fails to converge during some bootstrap replications. Default is 0.
Logical indicating whether error messages should be suppressed. Passed to
the silent
argument of try()
.