plot.nb: Plot method for the nb function

plot.nbR Documentation

Plot method for the nb function

Description

Plot method for the nb function

Usage

## S3 method for class 'nb'
plot(x, plots = "correlations", lev = "All levels", nrobs = 1000, ...)

Arguments

x

Return value from nb

plots

Plots to produce for the specified model. Use "" to avoid showing any plots. Use "vimp" for variable importance or "correlations" to examine conditional independence

lev

The level(s) in the response variable used as the basis for plots (defaults to "All levels")

nrobs

Number of data points to show in scatter plots (-1 for all)

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/model/nb.html for an example in Radiant

See Also

nb to generate results

summary.nb to summarize results

predict.nb for prediction

Examples

result <- nb(titanic, "survived", c("pclass", "sex"))
plot(result)
result <- nb(titanic, "pclass", c("sex", "age"))
plot(result)


radiant.model documentation built on Oct. 16, 2023, 9:06 a.m.