Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hline_at

Draw Horizontal Line


Description

Draws a horizontal line of length n at (row, col)

Usage

hline_at(yx, n, text = "-", ...)

Arguments

yx

(row, col) coordinates where line should be drawn.

n

integer describing the character length of the line

text

character to be repeated

...

parameters that are passed to style(), including the foreground color fg, background color bg, and attribute attr

Value

NULL

See Also

Examples

hline_at(c(3,4),6,"-") # print "------" at (3,4)

cursr

Cursor and Terminal Manipulation

v0.1.0
MIT + file LICENSE
Authors
Chris Mann
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.