Points plot type

Description

Type function for plotting points, i.e. a scatter plot.

Usage

type_points()

Examples

library("tinyplot")

# "p" type convenience character string
tinyplot(dist ~ speed, data = cars, type = "p")

# Same result with type_points()
tinyplot(dist ~ speed, data = cars, type = type_points())

# Note: Specifying the type here is redundant. Like base plot, tinyplot
# automatically produces a scatter plot if x and y are numeric
tinyplot(dist ~ speed, data = cars)