computeMode | R Documentation |

Works for integer, numeric, factor and character vectors. The implementation is currently not extremely efficient.

computeMode(x, ties.method = "random", na.rm = TRUE)

`x` |
[ |

`ties.method` |
[ |

`na.rm` |
[ |

Modal value of length 1, data type depends on data type of `x`

.

computeMode(c(1,2,3,3))

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.