Learn R Programming

cursr (version 0.1.0)

vline: Vertical Line

Description

Vertical Line

Usage

vline(n, text = "|")

Arguments

n

integer describing the character length of the line

text

character to be repeated

Value

character string of length n, separated by "\n"

See Also

Other drawing functions: box_at(), draw_arc(), draw_bezier(), draw_circle(), draw_ellipse(), draw_fn(), draw_lerp(), draw_path(), draw_ray(), draw_rect(), draw_shape(), fill_circle(), fill_ellipse(), fill_rect(), fill_shape(), grid_at(), grid_mat(), hline_at(), hline(), vline_at()

Examples

Run this code
# NOT RUN {
vline(4, "*") # "*\n*\n*\n*"

# }

Run the code above in your browser using DataLab