
cspade
. However, the values can be replaced
by specifying a named list with the names (partially) matching the
slot names of the SPparameter
class. Objects can be created by calls of the form
new("SPparameter", support, ...)
.
SPcontrol
,
function
cspade
.## coerce from list
p <- as(list(maxsize = NULL, maxwin = 5), "SPparameter")
p
## coerce to
as(p, "vector")
as(p, "data.frame")
Run the code above in your browser using DataLab