[.ddSim {dwp}R Documentation

Subset Simulated Dispersion Parameters while Preserving Attributes

Description

Subset Simulated Dispersion Parameters while Preserving Attributes

Usage

## S3 method for class 'ddSim'
x[i, j, ...]

Arguments

x

object to subset

i, j

row and column indices to subset

...

ignored

Details

Subset the ddSim object as if it were a simple matrix or array

Value

array with simulated beta parameters from the glm model, their conversion to distribution parameters. NOTE: subsetting to a column or a row returns a matrix rather than a vector. This simplifies the coding and makes it easier to maintain integrity of data structures, but behavior differs from what is done when subsetting standard R matrices and arrays to a single column or row. Also unlike with standard R arrays and matrices, the class structure and attributes are preserved upon subsetting.


[Package dwp version 1.1 Index]