a
resamp object; the default
is called for each column of
x$replicates
OPTIONAL ARGUMENTS:
weights
a vector of weights, by default
x$weights;
if supplied then a cumulative distribution
function is plotted for a weighted distribution, with probability
weights[i] (after normalizing to sum to 1) on observation
x[i].
nrow
number of rows of plots on the screen. If
nrow is NULL and
x has a
dim.obs component, it is used to determine
nrow. Otherwise, two rows are
used unless there is only a single parameter.
grid.layout
logical flag indicating whether to display plots in a single grid or as
separate plots when the resampled statistic is a vector.
subset.statistic
subscript expression; if the statistic has
length greater than 1, use this to request plots for only some
elements (parameters) of the statistic.
...
additional arguments, to pass to
plotCDF.
VALUE:
this function is called for its side effect of creating a plot.
SEE ALSO:
,
.
EXAMPLES:
x <- runif(9)
y <- cbind(x, y = runif(9))
boot1 <- bootstrap(x, mean)
boot2 <- bootstrap(y, colMeans)
plotCDF(boot1)
plotCDF(boot2)