README.md

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



Try the asciichartr package in your browser

Any scripts or data that you put into this service are public.

asciichartr documentation built on July 2, 2020, 2:48 a.m.