Instead of standard R output, knitr
and RMarkdown
documents will have
formatted knitr::kable()
output on return. You can disable this by setting
the chunk option render = normal_print
.
Usage
# S3 method for class 'skim_df'
knit_print(x, options = NULL, ...)
# S3 method for class 'skim_list'
knit_print(x, options = NULL, ...)
# S3 method for class 'one_skim_df'
knit_print(x, options = NULL, ...)
# S3 method for class 'summary_skim_df'
knit_print(x, options = NULL, ...)
Details
The summary statistics for the original data frame can be disabled by setting
the knitr
chunk option skimr_include_summary = FALSE
. See
knitr::opts_chunk for more information. You can change the number of digits
shown in the printed table with the skimr_digits
chunk option.
Alternatively, you can call collapse()
or yank()
to get the particular
skim_df
objects and format them however you like. One warning though.
Because histograms contain unicode characters, they can have unexpected
print results, as R as varying levels of unicode support. This affects
Windows users most commonly. Call vignette("Using_fonts")
for more details.
Methods (by class)
knit_print(skim_df)
: Defaultknitr
print forskim_df
objects.knit_print(skim_list)
: Defaultknitr
print for askim_list
.knit_print(one_skim_df)
: Defaultknitr
print within a partitionedskim_df
.knit_print(summary_skim_df)
: Defaultknitr
print forskim_df
summaries.