add.count: Add a new layer of points on top of an existing plot with...

Description Usage Arguments

View source: R/functions_plot.r

Description

Add a new layer of points on top of an existing plot with output from the min_cut function

Usage

1
add.count(x, p, label = TRUE, ...)

Arguments

x

a matrix created by the min_cut function

p

is a ggplot object, preferably from one of the mapping functions in soc.ca

label

if TRUE the labels of points will be shown

...

further arguments are passed on to geom_path, geom_point and geom_text


soc.ca documentation built on Sept. 5, 2021, 5:21 p.m.

Related to add.count in soc.ca...