acceptance_rate: Compute acceptance rate

Description Usage Arguments Value Author(s) Examples

View source: R/acceptance_rate.R

Description

This function takes the provided libbi object which has been run, or a bi file, and returns a the acceptance rate

Usage

1

Arguments

...

parameters to get_traces (especially 'x')

Value

acceptance rate

Author(s)

Sebastian Funk

Examples

1
2
3
4
example_run <- bi_read(system.file(package="rbi.helpers", "example_run.nc"))
example_model_file <- system.file(package="rbi", "PZ.bi")
example_bi <- attach_data(libbi(example_model_file), "output", example_run)
acceptance_rate(example_bi)

rbi.helpers documentation built on July 2, 2020, 4:10 a.m.