round_oric | R Documentation |
round_oric(x)
x |
( |
An integer vector.
Cont, R., Heidari, M. (2014). Optimal rounding under integer constraints. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.48550/arXiv.1501.00014")}
x <- c(4.5, 4.1, 4.9)
round_oric(x) # 4 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.