extremality {biscuiteer} | R Documentation

## Compute fraction of a Bernoulli variance

### Description

Works efficiently on matrices and DelayedMatrix objects. Note that it is possible for "raw" extremality to be greater than 1, so this function does a second pass to correct for this.

### Usage

    extremality(x, raw = FALSE)

### Arguments

`x` | A rectangular object with proportions in it
`raw` | Skip the correction pass? (DEFAULT: FALSE)

### Value

    The extremality of each row (if more than one) of the object

### Examples

      x <- rnorm(100, mean=0.5, sd=0.15)
      x <- matrix(x, nrow=50, ncol=2)

      ext <- extremality(x, raw=TRUE)

[Package biscuiteer version 1.6.0 Index]