Wolski
2004-May-28 16:56 UTC
[R] Is there a way to represent the ... argument in signature?
Hi! I guess that it cant work. but maybee I am wrong. I would like to define a function rbind.> rbindfunction (..., deparse.level = 1) { which works only for objects of class Myclass Is it possible to use something like setMethod("rbind",signature(...="Myclass",deparse.level="numeric") This gives an error. Or should I use rbind.Myclass Eryk. Dipl. bio-chem. Eryk Witold Wolski @ MPI-Moleculare Genetic Ihnestrasse 63-73 14195 Berlin 'v' tel: 0049-30-83875219 / \ mail: wolski at molgen.mpg.de ---W-W---- http://www.molgen.mpg.de/~wolski
Gabor Grothendieck
2004-May-28 17:27 UTC
[R] Is there a way to represent the ... argument in signature?
Have a look at rbind.zoo in the zoo package for an example.
Wolski <wolski <at> molgen.mpg.de> writes:
:
: Hi!
:
: I guess that it cant work. but maybee I am wrong.
: I would like to define a function rbind.
: > rbind
: function (..., deparse.level = 1)
: {
: which works only for objects of class Myclass
:
: Is it possible to use something like
:
setMethod("rbind",signature(...="Myclass",deparse.level="numeric")
: This gives an error.
: Or should I use
: rbind.Myclass
:
: Eryk.
:
: Dipl. bio-chem. Eryk Witold Wolski <at> MPI-Moleculare Genetic
: Ihnestrasse 63-73 14195 Berlin 'v'
: tel: 0049-30-83875219 / \
: mail: wolski <at> molgen.mpg.de ---W-W----
http://www.molgen.mpg.de/~wolski
Possibly Parallel Threads
- 2 images with 2 color scales on one graphic device. How to get it?
- Hiding internal package functions for the doc. pkg-internal.Rd
- plot.dendrogram and plot.hclust ZOOM into the height?
- ./configure --prefix and R_LIBS
- browser() is called incidentally (?) somewhere from inside methods::as