View source: R/nbc4va_wrapper.R
csmf.nbc | R Documentation |
Obtains the predicted Cause Specific Mortality Fraction (CSMF) from a result nbc
object.
csmf.nbc(object)
object |
The result |
out A numeric vector of the predicted CSMFs in which the names are the corresponding causes.
Other wrapper functions:
topCOD.nbc()
library(nbc4va) data(nbc4vaData) # Run naive bayes classifier on random train and test data train <- nbc4vaData[1:50, ] test <- nbc4vaData[51:100, ] results <- nbc(train, test) # Obtain the predicted CSMFs predCSMF <- csmf.nbc(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.