MCS-class: Class '"MCS"'

Description Objects from the Class Slots Methods Note Author(s) References See Also Examples

Description

List-like container for storing results from fmcs function.

Objects from the Class

Objects can be created by calls of the form new("MCS", ...).

Slots

stats:

Object of class "numeric" ~~

mcs1:

Object of class "SDFset" ~~

mcs2:

Object of class "SDFset" ~~

Methods

[[

signature(x = "MCS"): ...

coerce

signature(from = "list", to = "MCS"): ...

mcs1

signature(x = "MCS"): ...

mcs2

signature(x = "MCS"): ...

stats

signature(x = "MCS"): ...

Note

...

Author(s)

Yan Wang

References

...

See Also

Related classes: SDF, SDFstr

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Create MCS instance
showClass("MCS")
data(sdfsample)
sdfset <- sdfsample
mcs <- fmcs(sdfset[[1]], sdfset[[2]], au=2, bu=2)

## Methods to return components of MCS 
stats(mcs)
mcs[["stats"]]
mcs1(mcs)
mcs[["mcs1"]]
mcs2(mcs)
mcs[["mcs2"]]

## Constructor method from list
mylist <- list(stats=stats(mcs), mcs1=mcs1(mcs), mcs2=mcs2(mcs))
mymcs <- as(mylist, "MCS")

fmcsR documentation built on Nov. 8, 2020, 6:57 p.m.