[R] Question regarding Naive Bayes

2016-11-30 Thread PHILIP GLADWIN
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

2011-10-07 Thread PHILIP GLADWIN, BLOOMBERG TRADEBOOK:
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