as.list-methods {objectProperties} | R Documentation |
list
Coercion from PropertySet
to list
.
x |
A |
This coersion only return a list of properties instances. filtering out singal function and other fields which are not properties.
A list of properties instance.
Tengfei Yin
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)