print.tbl_obs | R Documentation |
A class for tibbles with observations providing a compact output
## S3 method for class 'tbl_obs'
print(x, ...)
## S3 method for class 'tbl_obs'
knit_print(x, ...)
as_tbl_obs(x)
## S3 method for class 'tbl_df'
as_tbl_obs(x)
## S3 method for class 'data.frame'
as_tbl_obs(x)
x |
a data frame |
tbl_obs
The constructor makes any data.frame or tibble class tbl_obs. The provided print method randomly selects a small number of observations and puts it into a knitr::kable, which looks nice on both, console and knitr output.
Martin Schmettow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.