Learn R Programming

radiant.model (version 0.8.0)

plot.nb: Plot method for the nb function

Description

Plot method for the nb function

Usage

# S3 method for nb
plot(x, ...)

Arguments

x

Return value from nb

...

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

Run this code
# NOT RUN {
result <- nb("titanic", "survived", c("pclass","sex"))
plot(result)
result <- nb("titanic", "pclass", c("sex","age"))
plot(result)

# }

Run the code above in your browser using DataLab