51_cuv_plotting_functions: Plots of Continuous Univariate Models

Description Usage Arguments References See Also Examples

Description

Plots of continuous univariate probability distributions.

Usage

1
2
3
4
5
6
plot_cpd (sf, data=FALSE, ...,
    main, xlab, ylab,
    xlim, ylim,
    add=FALSE, axes=TRUE,
    line.width, line.color, fill.color,
    n=200)

Arguments

sf

A suitable function object.
Here, this is a continuous univariate probability distribution.

Refer to the references and see also sections.

data

Logical, if true, include a subpanel with data points.
Ignored, if sf is a quantile function, or a conditional distribution.

main, xlab, ylab

Optional strings, main/axes titles.

xlim, ylim

Optional length-2 numeric vectors, giving the plot ranges.

add

Logical, if true, add to an existing plot.

axes

Logical vector of length one or two, if true, plot axis ticks with labels.

line.width

Optional numeric, giving the main line width.
If missing, determined by global options.

line.color, fill.color

Optional (R color) strings, giving the main line color and main fill color.
If missing, determined by global options.

n

Integer, number of (line) points.

...

Ignored.

References

Refer to the vignette for an overview, references and better examples.

See Also

set.ph.options

ph.plotf.cksuv, ph.plotf.eluv

plot_cpd_bv, plot_cpd_tv

Examples

1
2
3
4
5
6
prep.ph.data ()

cfh <- pdfuv.cks (height)

plot (cfh)
plot (cfh, TRUE)

probhat documentation built on May 12, 2021, 5:08 p.m.