type_segments {tinyplot} | R Documentation |
Line segments plot type
Description
Type function for plotting line segments.
Usage
type_segments()
Details
Contrary to base segments
, line segments in
tinyplot must be specified using the xmin
, ymin
,xmax
, and ymax
arguments.
Examples
# "segments" type convenience character string
tinyplot(
xmin = c(0,.1), ymin = c(.2,1), xmax = c(1,.9), ymax = c(.75,0),
type = "segments"
)
# Same result with type_segments()
tinyplot(
xmin = c(0,.1), ymin = c(.2,1), xmax = c(1,.9), ymax = c(.75,0),
type = type_segments()
)
[Package tinyplot version 0.4.2 Index]