ANY is a data type to represent any S4 class.
S4 implements the ANY class, but does not document it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # creates a new class with "ANY"
setClass(Class="mtkProcess",
representation=representation(
name="character",
protocol="character",
site="character",
service="character",
parameters="ANY",
ready="logical",
state="logical",
result="ANY"
),
prototype=prototype(parameters=NULL, ready=FALSE,
state=FALSE, result=NULL)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.