plot.nb: Plot method for the nb function

Description Usage Arguments Details See Also Examples

View source: R/nb.R

Description

Plot method for the nb function

Usage

1
2
3
## 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

1
2
3
4
result <- nb(titanic, "survived", c("pclass", "sex"))
plot(result)
result <- nb(titanic, "pclass", c("sex", "age"))
plot(result)

radiant-rstats/radiant.model documentation built on Nov. 13, 2018, 7 a.m.