View source: R/polya_helper_functions.R
getmode | R Documentation |
Function calculating statistical mode of given vector.
getmode(x, method = "density", na.rm = FALSE)
x |
character data for which the most frequent value is to be calculated (polya_data column with the lengths of the poly(A) tails) |
method |
character "density"/"value"; density mode is computed by default. |
na.rm |
boolean parameter defining whether to remove missing values or not. By a default set to false |
statistical mode of given vector.
## Not run:
getmode(x = polya_data$tail_length,
method = "density",
na.rm = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.