Re: HW4 how to show the code

作者: brooky (未夠班)   2006-03-16 09:32:40
※ 引述《inuy (開學真可怕)》之銘言:
: In HW4
: We should trace the naiveBayes code
: In my past experience,"fix(naiveBayes)" will show code in detail.
: But,it only shows
: function (x, ...)
: UseMethod("naiveBayes")
: <environment: namespace:e1071>
: Should I have any other functions?
You can find source package in
http://cran.r-project.org/src/contrib/PACKAGES.html
After download the e1071 source package, naiveBayes.R is under
...\e1071_1.5-13\e1071\R
Hope this might help :)

Links booklink

Contact Us: admin [ a t ] ucptt.com