Description Usage Arguments Details Value Author(s) See Also Examples

When computing the maximum on arbitrary subsets of data, some of which may only have missing values, it may be necessary to take the maximum of a vector of NAs. This replaces the behavior that returns Inf or-Inf and replaces it with simply returning an NA.

1 | ```
max_mis(x)
``` |

`x` |
A vector of data that a maximum can be taken of. |

This function only returns valid results for vectors with a mix of NA and numeric values.

A vector with the maximum value or with an NA of the proper type

Jared E. Knowles

See also `max`

which this function wraps.

1 2 3 4 |

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.