Learn R Programming

BayesDecon (version 0.1.4)

subset_result: Subset Methods for bdeconv_result object

Description

Subset Methods for bdeconv_result object

Usage

# S3 method for zi_res
[(obj, i)

# S3 method for nc_res [(obj, i)

# S3 method for mv_res [(obj, i, j)

Value

A bdeconv_result object containing the selected iterations of posterior samples for the specified variables (in the multivariate case), suitable for further analysis and visualization.

Arguments

obj

A bdeconv_result object.

i

An integer row index (or indices) to select some specific MCMC iterations.

j

And integer column index (or indices) to select some specific set of variables (For multivariate case only).