Returns matrix with values above or below the `threshold`

are replaced.
Can be used for converting to a binary matrix or for thresholding an adjacency
matrix.

1 |

`matrix` |
matrix |

`threshold` |
Integer |

`minval` |
Integer. Replaces values below threshold. |

`maxval` |
Integer. Replaces values above or equal to |

`abs` |
Logical. If TRUE the absolute value will be considered. |

`rmna` |
Logical. If TRUE NA's will be replaced with |

`...` |
Other parameters. |

If `rm.na`

is TRUE and `minval`

is NULL, then NA's will be replaced
with 0.

`max_threshold`

returns an matrix with values removed according to parameters.

Shannon M. Bell

1 2 3 4 5 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.