Description Usage Arguments Value Author(s) Examples

Utility functions for statistical computations.

1 2 3 | ```
f.above.thresh(a, t)
f.cord(x, y, inf.rm)
f.oneway.rankings(r, s)
``` |

`a` |
a vector |

`t` |
a real number |

`x` |
a vector |

`y` |
a vector |

`inf.rm` |
a logical value |

`r` |
vector |

`s` |
vector |

`f.above.thresh`

returns the fraction of elements in the vector
`a`

that are greater than the threshold `t`

.

`f.cord`

returns the concordance coefficient between the two
input vectors `x`

and `y`

. If `inf.rm`

is true, then
infinite values are removed before computing the concordance; missing
values are always removed.

`f.oneway.rankings`

is implemented as `order(s)[r]`

and I
cannot recall why we defined it or where we used it.

Kevin R. Coombes krc@silicovore.com

1 2 3 4 5 | ```
x <- rnorm(1000, 1, 2)
y <- rnorm(1000, 1, 2)
f.above.thresh(x, 0)
f.above.thresh(y, 0)
f.cord(x, y)
``` |

```
Loading required package: oompaBase
[1] 0.703
[1] 0.718
[1] -0.01241154
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.