Learn R Programming

TwoRegression (version 1.1.1)

plotCP: Add a cut-point to a plot

Description

Add a cut-point to a plot

Usage

plotCP(fig, cutPoint, x = NULL, y = NULL)

Arguments

fig

A partially-assembled figure

cutPoint

The threshold value to insert into the figure

x

numeric scalar giving x coordinate for label placement

y

numeric scalar giving y coordinate for label placement