MCS-class {fmcsR} | R Documentation

## Class `"MCS"`

### 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

    ## 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")

[Package fmcsR version 1.32.0 Index]