Description Usage Arguments Value Author(s)
A class for tibbles with observations providing a compact output
1 2 3 4 5 6 7 8 9 10 11 12 13 | as_tbl_obs(x)
## S3 method for class 'tbl_df'
as_tbl_obs(x)
## S3 method for class 'data.frame'
as_tbl_obs(x)
## S3 method for class 'tbl_obs'
print(x, ...)
## S3 method for class 'tbl_obs'
knit_print(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.