sample_function: Generates posterior samples

Description Usage Arguments Details Value Author(s) See Also

View source: R/sample_function.R

Description

This generates a posterior sample based on the data and global parameters defined in its input.

Usage

1

Arguments

knobj

A knowledge list. See knobjs.

Details

This function is the same as, sample_function_multi_mod_weight. This is the sampling function used by design strategies. It can be changed to modify the sampling strategy (e.g. sample_function_single_mod).

Value

A matrix which row represent a parameter named numeric vector in log space. Its distribution is supposed to be closed to the posterior distribution defined by knobj.

Author(s)

Edouard Pauwels

See Also

sample_function_multi_mod_weight, sample_function_single_mod


pauwels2014 documentation built on May 29, 2017, 9:03 a.m.