Learn R Programming

asciichartr

Print charts directly on your R terminal. This is a port for the R programming language.

Using the package

Execute asciiPlot with a numeric vector as input and print the result, for example:

ts <- c(2,1,4,6,7,3,5,5,3)
cat(asciiPlot(ts))
#    7.00 ┤   ╭╮    
#    6.00 ┤  ╭╯│    
#    5.00 ┤  │ │╭─╮ 
#    4.00 ┤ ╭╯ ││ │ 
#    3.00 ┤ │  ╰╯ ╰ 
#    2.00 ┼╮│       
#    1.00 ┤╰╯       

Also check the documentation for configuration options: ?asciiPlot.

Credits

Inspired by asciichart

Copy Link

Version

Install

install.packages('asciichartr')

Monthly Downloads

372

Version

0.1.0

License

MIT + file LICENSE

Maintainer

Brian

Last Published

June 14th, 2020

Functions in asciichartr (0.1.0)

asciiPlot

ASCII chart of vector. Generate an ascii chart for a series of numbers.