View source: R/stat-pointless.R
get_locations | R Documentation |
Given a data frame, this functions returns a subset. Returns a data frame with either "first" row, "last" row and/or the row(s) that contain minima or maxima
get_locations(
data = NULL,
location = c("first", "last", "minimum", "maximum", "all")
)
data |
A |
location |
A character string specifying which rows to return: "first", "last" (default), "minimum", "maximum" or "all" |
A data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.