Param: Generic parameter class

ParamR Documentation

Generic parameter class

Description

The 'Param' class is a virtual class which can be used as *base* class from which *parameter* classes can inherit.

The methods implemented for the 'Param' class are:

- 'as.list': coerces the 'Param' class to a 'list' with list elements representing the object's slot values, names the slot names. *Hidden* slots (i.e. those with a name starting with '.') are not returned. In addition, a 'Param' class can be coerced to a 'list' using 'as(object, "list")'.

- 'show': prints the content of the 'Param' object (i.e. the individual slots and their value).

Usage

## S4 method for signature 'Param'
as.list(x, ...)

## S4 method for signature 'Param'
show(object)

Arguments

x

'Param' object.

...

ignored.

object

'Param' object.

Author(s)

Johannes Rainer


lgatto/ProtGenerics documentation built on Aug. 2, 2024, 10:31 p.m.