dplyr
's dplyr::top_n is a function, here we define an S3 method
whose default implementation calls the function from dplyr
.
1 |
.data |
A |
n |
The number of elements to retrieve. |
wt |
(Optional). The variable to use for ordering. Supported only
in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.