as.list-methods: Coercion to 'list'

Description Arguments Details Value Author(s) Examples

Description

Coercion from PropertySet to list.

Arguments

x

A PropertySet object.

Details

This coersion only return a list of properties instances. filtering out singal function and other fields which are not properties.

Value

A list of properties instance.

Author(s)

Tengfei Yin

Examples

1
2
3
4
5
6
7
filt.gen <- setRefClass("Filter", properties(list(cutoff = "NonnegativeInteger",
weight = "PositiveInteger")),
contains = "PropertySet")
obj <- filt.gen$new(cutoff = NonnegativeInteger(0),
weight = PositiveInteger(1))
obj$properties()
as.list(obj)

objectProperties documentation built on July 22, 2021, 9:08 a.m.