edamethod {StabPerf} | R Documentation |
Constructor of an edamethod
, which is an unevaluated block of code
edamethod(name=NULL, description=NULL, class=NULL, code=NULL)
name |
character. |
description |
character. |
class |
character. Into what additional class should this object be created |
code |
expression. Block of code, generally in {} |
Creates an instnce of edamethod
, which is also a list
and also an instance of class
, when specified. The code in the object can be executed with a simply eval(meth)
.
mymeth <- edamethod(name="my.meth", code={ dostuff(); domorestuff(); }) # And now run it eval(mymeth)