Learn R Programming

fmcsR (version 1.14.2)

MCS-class: Class "MCS"

Description

List-like container for storing results from fmcs function.

Arguments

Objects from the Class

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

References

...

See Also

Related classes: SDF, SDFstr

Examples

Run this code
## 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")

Run the code above in your browser using DataLab