Julia,

> i checked the caret package out and the tuning works. but i 
> can't find a way to make a contingency table in order to 
> see the classification result.

You should read the vignettes for the package at:

   http://cran.r-project.org/src/contrib/Descriptions/caret.html

these have the details for caret. There are many other methods. Typing

   help.search("confusion")

yields four different implementations on my system. 

Looking at your email, you need to read something about basic predict methods. 
Please read ?predict.NaiveBayes

Max

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to