Skip to content
Back to formatted view

Raw Message

Message-ID: <4EE1FECB.3040301@gmail.com>
Date: 2011-12-09T12:27:55Z
From: Duncan Murdoch
Subject: cannot access the functions in the package
In-Reply-To: <CAMQs8SGrBSmpC8x4Fu8sGHSSNwyM_wm7VrMwOQgkcOerFzs89w@mail.gmail.com>

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