plot.KW2: Plot a KW2 object

View source: R/plot.KW2.R

plot.KW2R Documentation

Plot a KW2 object

Description

Given a fitted model by the rcbr NPMLE procedure plot the estimated mass points

Usage

## S3 method for class 'KW2'
plot(x, smooth = 0, pal = NULL, inches = 1/6, N = 25, tol = 0.001, ...)

Arguments

x

is the fitted NPMLE object

smooth

is a parameter to control bandwidth of the smoothing if a contour plot of the estimated density is desired, default is no smoothing and only the mass points of the discrete estimate are plotted.

pal

a color palette

inches

as used in symbols to control size of mass points

N

scaling of the color palette

tol

tolerance for size of mass points

...

other arguments to pass to symbols, notably e.g. add = TRUE

Value

nothing (invisibly)


RCBR documentation built on Nov. 8, 2023, 5:08 p.m.

Related to plot.KW2 in RCBR...