The goal of bmarketing package is to create decision tree model and use it to generate predictions based on provided dataset. It is also able to clean the dataset before creating model or making predictions.
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("nandakallugjeri/bmarketing")
Funcion documentation is accessible through ?functionname. For example, run ?checkNA to see the documentation for checkNA function.
checkNA
cleanData
dtree
dtreeplot
dtreesummary
dtreepredict
dtreeperf
translog
trans
standardize
logit
library(bmarketing)
#> Loading required package: rpart.plot
#> Loading required package: rpart
mytree<-dtree(bmarketing,"y")
dtreeplot(mytree)