top_q | R Documentation |
Select top q rows (by value)
top_q(x, q, wt, na.rm = TRUE, .arrange = FALSE, verbose = getOption("verbose"))
x |
(tabular data) |
q |
(numeric) between 0 and 1; passed to |
wt |
the variable to use for ordering. |
na.rm |
(logical) ignore |
.arrange |
(logical) sort the results by |
top_q(mtcars, q = 0.9, wt = mpg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.