[R] Question regarding Naive Bayes
Hello, I am working with the naïve bayes function inlibrary(e1071). The function calls are: transactions.train.nb = naiveBayes(as.factor(DealerID) ~ as.factor(Manufacturer) + as.factor(RangeDesc)
[R] Data frame aggregation
Hello, Could anybody help me with this question? Example data frame NAME TICKER SHARES PERFORMANCE John ABC1000.05 John ABC1000 1.5 Alice EFG20 0.3 Paul HIJ50 1.0 Paul JKL