Learn R Programming

mtk (version 1.0)

ANY: The ANY class

Description

ANY is a data type to represent any S4 class.

Arguments

Details

S4 implements the ANY class, but does not document it.

Examples

Run this code
# 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)

)

Run the code above in your browser using DataLab