Sampler: Sampler class

Description Usage Arguments Details Value See Also Examples

Description

This is the sampler base class that defines the functions that have to be implemented by a sampler.

Usage

1
 sampler = new("Sampler",model)

Arguments

model

Constructor takes the model object create by the lexer

Details

Expects the model in the constructor and defines the takeSample function that has to be overwritten by inheriting sampler class.

Value

Returns a valid sampler object.

See Also

Package Overview: Slice-Package

Simple MCMC sampler class: MCMCsampler

Slice sampler class: SliceSampler

Maximum likelihood based sampler class:

Examples

1
# you should inherit from this model. It does not provide functionality.

dennisthemenace2/Slice documentation built on Nov. 4, 2019, 10:26 a.m.