getFrequencies: Observed Frequencies in each bin.

Description Usage Arguments Value Author(s) See Also

View source: R/pawl.R

Description

This function provides a convenient way to check whether the target frequencies have been reached. Since new bins can be created during the algorithm, this function aggregates them in the right way so that the user can know if the initial bins (on which the desired frequencies were specified) have been visited enough.

Usage

1

Arguments

results

Object of class "list": either the output of pawl or of adaptiveMH.

binning

Object of class binning: the binning on which the frequencies have to be computed.

Value

The function is supposed to be used for the lines that it prints in the console. However it also returns a vector of sampling frequencies corresponding to the initial bins.

Author(s)

Luke Bornn <bornn@stat.harvard.edu>, Pierre E. Jacob <pierre.jacob.work@gmail.com>

See Also

pawl


PAWL documentation built on May 2, 2019, 5:58 a.m.