plotgradient: Plot Gradient Curve

Description Usage Arguments See Also Examples

View source: R/cnmlcd.R

Description

Plots the gradient curve that corresponds to a log-concave dnesity and a data set.

Usage

1
2
plotgradient(lcd, x, w = NULL, col="blue", knotcol=col, pch=1,
             lwd=1, lty=1, ...)

Arguments

lcd

an object of class lcd.

x

a vector storing the observations.

w

a vector of frequencies (weights) of values stored in x. If w=NULL, w = 1 is used for each value in x.

col

color of lines.

knotcol

color of knots.

pch

point type for knots.

lwd

width for the gradient curve.

lty

line type for the gradient curve.

...

further arguments passed to or from other methods.

See Also

cnmlcd, lcd, new.lcd, x.weight.

Examples

1
2
3
4

cnmlcd documentation built on May 1, 2019, 10:55 p.m.

Related to plotgradient in cnmlcd...