Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.KW2

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

Random Coefficient Binary Response Estimation

v0.5.9
GPL (>= 2)
Authors
Roger Koenker [aut, cre], Jiaying Gu [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.