extract-methods: Extract parts of a MixAll S4 class

Description Usage Arguments

Description

Extract parts of a MixAll S4 class

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
## S4 method for signature 'ClusterAlgo'
x[i, j, drop]

## S4 replacement method for signature 'ClusterAlgo'
x[i, j] <- value

## S4 method for signature 'ClusterAlgoPredict'
x[i, j, drop]

## S4 replacement method for signature 'ClusterAlgoPredict'
x[i, j] <- value

## S4 method for signature 'ClusterInit'
x[i, j, drop]

## S4 replacement method for signature 'ClusterInit'
x[i, j] <- value

## S4 method for signature 'ClusterStrategy'
x[i, j, drop]

## S4 replacement method for signature 'ClusterStrategy'
x[i, j] <- value

## S4 method for signature 'ClusterCategoricalComponent'
x[i, j, drop]

## S4 method for signature 'ClusterDiagGaussianComponent'
x[i, j, drop]

## S4 method for signature 'ClusterGammaComponent'
x[i, j, drop]

## S4 method for signature 'ClusterPoissonComponent'
x[i, j, drop]

## S4 method for signature 'LearnAlgo'
x[i, j, drop]

## S4 replacement method for signature 'LearnAlgo'
x[i, j] <- value

## S4 method for signature 'KmmComponent'
x[i, j, drop]

Arguments

x

object from which to extract element(s) or in which to replace element(s).

i

the name of the element we want to extract or replace.

j

if the element designing by i is complex, j specifying elements to extract or replace.

drop

For matrices and arrays. If TRUE the result is coerced to the lowest possible dimension (see the examples). This only works for extracting elements, not for the replacement. See drop for further details.

value

typically an array-like R object of a similar class as the element of x we want to replace.


MixAll documentation built on Sept. 7, 2019, 3 a.m.