Learn R Programming

alR (version 2.2.0)

fixBoot: Trimmed bootstrap distributions.

Description

Remove bootstrap estimates associated with extreme bootstrap distribution values, resulting from arc length methods.

Usage

fixBoot(object, trim = 0, na.rm = TRUE)

Arguments

object

An alKDEboot, mmKDEboot, kappa4alBoot, or kappa4nlsBoot.

trim

#' @param trim The fraction (0 to 0.5) of observations to be trimmed from each end of the jackknife distribution before the mean and standard deviation are computed. Values of trim outside that range are taken as the nearest endpoint.

na.rm

A logical value indicating whether NA values should be stripped before the computation proceeds.

Value

The object is returned with the estimated coefficients corresponding to the trimmed bootstrap distribution.