Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nbenn/printbl
Pretty printing of 2D data structures in R
https://github.com/nbenn/printbl
Last synced: about 2 months ago
JSON representation
Pretty printing of 2D data structures in R
- Host: GitHub
- URL: https://github.com/nbenn/printbl
- Owner: nbenn
- Created: 2019-05-16T15:24:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-18T09:19:09.000Z (over 5 years ago)
- Last Synced: 2024-10-24T15:56:45.017Z (3 months ago)
- Language: R
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
library(printbl)
```
# printblPretty printing for any 2D datastructure in R that provides an implementation of the following generic methods
* `base::head()`/`base::tail()`
* `base::nrow()`and optionally
* `base::rownames()`
* `printbl::obj_desc()`## Installation
You can install the released version of printbl from [github](https://github.com/nbenn/printbl) with:
``` r
devoolt::install_github("nbenn/printbl")
```## Example
For example a `data.frame` which has row names:
```{r example}
print_table(mtcars)
```