Description Usage Arguments Details Value
Note: this works (efficiently) on matrices and DelayedMatrix objects. Also note: since it is posssible for "raw" extremality to be > 1, the function does a second pass to correct for this.
1 | extremality(x, raw = FALSE)
|
x |
an rectangular object with proportions in it |
raw |
skip the correction pass? (FALSE) |
extremal <- c(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0) milder <- c(0.8, 0.2, 0.1, 0.3, 0.7, 0.1, 0.4, 0.1, 0.1, 0.2)
extremality(extremal, raw=TRUE) extremality(extremal, raw=FALSE)
FIXME: this breaks when handed a single-row DelayedArray.
1 | the extremality of each row (if more than one) of the object
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.