View source: R/extract_six_from_col.R
extract_six_from_col | R Documentation |
extract_six_from_col A function to sort decreasing and extract the first 6 elements of a given column
extract_six_from_col(dataset = datasets::mtcars, column = "mpg")
dataset |
dataset given to extract a column from (type = tibble, data.frame) |
column |
column to sort and extract the first 6 elements from (type = numeric, character) |
A data frame when the column is numeric
extract_six_from_col(dataset = datasets::mtcars, column = "mpg") extract_six_from_col(squirrels, "lat")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.