to_long | R Documentation |
Skim results returned as a tidy long data frame with four columns: variable, type, stat and formatted.
to_long(.data, ..., skim_fun = skim) ## Default S3 method: to_long(.data, ..., skim_fun = skim) ## S3 method for class 'skim_df' to_long(.data, ..., skim_fun = skim)
.data |
A data frame or an object that can be coerced into a data frame. |
... |
Columns to select for skimming. When none are provided, the default is to skim all columns. |
skim_fun |
The skim function used. |
A tibble
to_long(default)
: Skim a data frame and convert the results to a
long data frame.
to_long(skim_df)
: Transform a skim_df to a long data frame.
to_long(iris) to_long(skim(iris))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.