g2_line: Line

View source: R/g2-mark.R

g2_lineR Documentation

Line

Description

One of the most commonly used marks to draw a line based on a series of points, usually used to draw line graphs.

Usage

g2_line(encode = NULL, ...)

Arguments

encode

encode.shape: line / smooth / vh / hv / hvh / tail.

See Also

Other mark: g2_area(), g2_bar(), g2_box(), g2_boxplot(), g2_cell(), g2_chord(), g2_col(), g2_density(), g2_gauge(), g2_heatmap(), g2_hist(), g2_image(), g2_interval(), g2_lineX(), g2_lineY(), g2_link(), g2_liquid(), g2_pie(), g2_point(), g2_polygon(), g2_range(), g2_range_x(), g2_range_y(), g2_rect(), g2_shape(), g2_text(), g2_vector(), g2_wordCloud()


13kay/rg2 documentation built on June 25, 2024, 7:26 a.m.