trimbin {SSPA} | R Documentation

## Binning and trimming of the test statistics vector.

### Description

Binning and trimming of the test statistics vector.

### Usage

    trimbin(
      statistics,
      nbins = 100,
      trim = c(0.01, 0.99),
      bin = c("epdf", "ecdf"),
      symmetric = TRUE,
      plot = TRUE
    )

### Arguments

`statistics` | vector of test statistics.
`nbins` | number of bins.
`trim` | vector of size two with lower and upper limits for the trimming.
`bin` | "epdf" or "ecdf" binning using respectively, empirical density of cumulutive distribution function.
`symmetric` | symmetric trimming TRUE/FALSE.
`plot` | plot results TRUE/FALSE.

### Details

details follow

### Value

trimmed and binned vector of test statistics.

### Author(s)

Maarten van Iterson

[Package SSPA version 2.30.0 Index]