Debian Codegraph @

man/to_long.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/reshape.R
3 \name{to_long}
4 \alias{to_long}
5 \alias{to_long.default}
6 \alias{to_long.skim_df}
7 \title{Create "long" skim output}
8 \usage{
9 to_long(.data, ..., skim_fun = skim)
10
11 \method{to_long}{default}(.data, ..., skim_fun = skim)
12
13 \method{to_long}{skim_df}(.data, ..., skim_fun = skim)
14 }
15 \arguments{
16 \item{.data}{A data frame or an object that can be coerced into a data frame.}
17
18 \item{...}{Columns to select for skimming. When none are provided, the
19 default is to skim all columns.}
20
21 \item{skim_fun}{The skim function used.}
22 }
23 \value{
24 A tibble
25 }
26 \description{
27 Skim results returned as a tidy long data frame with four columns:
28 variable, type, stat and formatted.
29 }
30 \section{Methods (by class)}{
31 \itemize{
32 \item \code{to_long(default)}: Skim a data frame and convert the results to a
33 long data frame.
34
35 \item \code{to_long(skim_df)}: Transform a skim_df to a long data frame.
36
37 }}
38 \examples{
39 to_long(iris)
40 to_long(skim(iris))
41 }