subsetting-methods: Subsetting methods for CNPBayes objects

Description Usage Arguments Value

Description

Many of the classes defined in CNPBayes can be subset using the "[" operator.

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
## S4 method for signature 'CnList,numeric,ANY'
x[[i]]

## S4 method for signature 'MultiBatch,numeric,ANY,ANY'
x[i, j, ..., drop = FALSE]

## S4 method for signature 'MultiBatch,logical,ANY,ANY'
x[i, j, ..., drop = FALSE]

## S4 method for signature 'MultiBatchList,numeric,ANY'
x[[i]]

## S4 method for signature 'MultiBatchList,character,ANY'
x[[i]]

## S4 method for signature 'MultiBatchList,numeric,ANY,ANY'
x[i, j, ..., drop = TRUE]

## S4 method for signature 'MultiBatchList,character,ANY,ANY'
x[i, j, ..., drop = TRUE]

## S4 method for signature 'MultiBatchList,logical,ANY,ANY'
x[i, j, ..., drop = TRUE]

## S4 replacement method for signature 'MultiBatchList,ANY,ANY,ANY'
x[[i]] <- value

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

## S4 method for signature 'McmcChains,ANY,ANY,ANY'
x[i, j, ..., drop = FALSE]

## S4 method for signature 'MixtureModel,logical,ANY,ANY'
x[i, j, ..., drop = TRUE]

## S4 method for signature 'MixtureModel,numeric,ANY,ANY'
x[i, j, ..., drop = TRUE]

## S4 method for signature 'MultiBatchModel,ANY,ANY,ANY'
x[i, j, ..., drop = FALSE]

Arguments

x

a MultiBatch instance

i

elements to select

j

ignored

...

ignored

drop

ignored

value

a MultiBatch instance

Value

An object of class 'McmcChains'


scristia/CNPBayes documentation built on Aug. 9, 2020, 7:31 p.m.