check_prior: Check prior for validity

Description Usage Arguments

View source: R/create_prior.R

Description

Check prior for validity

Usage

1
check_prior(prior, n_test = 500, error = FALSE, progress = TRUE)

Arguments

prior

BayesianTools prior object

n_test

Number of samples to test

error

Logical. If 'TRUE', throw an error if priors are invalid. If 'FALSE', throw a warning and store the invalid parameters.

progress

Logical. If 'TRUE', print a progress bar.


ashiklom/edr-da documentation built on April 16, 2021, 9:33 p.m.