On 16/7/09 12:18 PM, Duncan Murdoch wrote:
Gad Abraham wrote:
Hi,
Say I have two packages, test1 and test2, that both define the generic
method train (identical definition), and each has a specific train
method for a different S4 object (foo and bar, resp.)
I want to be able to call train(foo
may be defined for arguments: object, x, y
Use showMethods("train") for currently available ones.
> test1::train
standardGeneric for "train" defined from package "test1"
function (object, x, y, ...)
standardGeneric("train")
Methods may
21) [/share/research/R-devel/20090203/lib64/R]
***
setGeneric("predict")
[1] "predict"
Great, thanks.
--
Gad Abraham
MEng Student, Dept. CSSE and NICTA
The University of Melbourne
Parkville 3010, Victoria, Australia
email: gabra...@csse.unimelb.edu.au
web:
rDevices utils datasets methods base
other attached packages:
[1] test2_0.1
--
Gad Abraham
MEng Student, Dept. CSSE and NICTA
The University of Melbourne
Parkville 3010, Victoria, Australia
email: gabra...@csse.unimelb.edu.au
web: http://www.csse.unimelb.edu.au/~gabraham
line input. Please report using bug.report()
Error: (converted from warning) An unusual circumstance has arisen in
the nesting of readline input. Please report using bug.report()
Error: (converted from warning) An unusual circumstance has arisen in
the nesting of readline input. Please report using