naiveBayes(formula, data, weights, df = 20, nbins = 30, partition = c("quantile", "width"))
naiveBayes.fit(X, y, weights, df = 20, nbins = 30, partition = c("quantile", "width"))formula (or one that can be
  coerced to that class): a symbolic description of the model to be fitted.
  Only main effects (not interactions) are allowed.weight column).
  The column names of data need to include the terms specified in formula.data that corresponds to the weights.predict.naiveBayes, plot.naiveBayes
# See vignette: "Statistical Methods for Crime Series Linkage" for usage.
Run the code above in your browser using DataLab