> Estimate a Naive Bayes model
To estimate a model select the Response variable and one or more Explanatory variables. Press the `Estimate` button or `CTRL-enter` (`CMD-enter` on mac) to generate results.
### Report > Rmd
Add code to _Report > Rmd_ to (re)create the analysis by clicking the icon on the bottom left of your screen or by pressing `ALT-enter` on your keyboard.
If either a plot was created it can be customized using `ggplot2` commands (e.g., `plot(result) + labs(title = "Variable Importance")`). See _Data > Visualize_ for details.
### R-functions
For an overview of related R-functions used by Radiant to estimate a naive Bayes classification model see _Model > Naive Bayes_
The key function from the `e1071` package used in the `nb` tool is `naiveBayes`.