[[.seqreresult {copre}R Documentation

Sequence Resampling

Description

A function that samples predictive distributions for univariate continuous data using exchangeable predictive extension.

Usage

## S3 method for class 'seqreresult'
obj[[i]]

seqre(obj, inc = 1000, eps = 0.001, max_it = 100)

Arguments

obj

A seqre_result object, usually output from gibbsmix().

i

A numeric vector of sample indices.

inc

A positive integer increment value for the number of predictive samples to take each convergence check.

eps

An error value which determines the convergence approximation.

max_it

A positive integer maximum number of iterations before halting.

Value

A seqre_result object, or a list of two seqre_result objects if keep_marg is TRUE.

Functions

See Also

gibbsmix()


[Package copre version 0.2.0 Index]