Learn R Programming

npde (version 3.5)

npde.plot.splitcov: Plots split by covariate for a NpdeObject object

Description

Plots split by covariate for a NpdeObject object (equivalent to using covsplit=TRUE with the appropriate plot.type)

Usage

npde.plot.splitcov(npdeObject, which.plot="x", ...)

Value

a ggplot object or a list of ggplot objects (grobs)

Arguments

npdeObject

an object returned by a call to npde or autonpde

which.plot

one of "x" (scatterplots of the metric versus X), "pred" (scatterplots of the metric versus predictions), "ecdf" (empirical distribution function), "hist" (histogram), "qqplot"

...

additional arguments to be passed on to the function, to control which metric (npde, pd, npd) is used or to override graphical parameters (see the PDF document for details, as well as set.plotoptions)