On 11-12-08 1:30 PM, Weizeng Ni wrote:
hi, I am using the package of "Fslector" which contains a function named
"information.gain". I want to see the detailed code of this function. the
result shows
information.gainfunction (formula, data)
{
information.gain.body(formula, data, type = "infogain")
}
When I then try to see the code of information.gain.body, it shows
Error: could not find function "information.gain.body".
Why cannot I get access to the codes?
You probably need to use Fslector:::information.gain.body, or (even
better) look at the source for the package, which you should be able to
get using
download.packages("Fslector", type="source", destdir=<your directory>)
Duncan Murdoch
______________________________________________
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.