infer: Conduct statistical inference based on (posterior) sample or...

View source: R/infer.R

inferR Documentation

Conduct statistical inference based on (posterior) sample or distribution

Description

Conduct statistical inference based on (posterior) sample or distribution

Usage

infer(
  x,
  prob = 0.95,
  stats = "mean",
  aggr_var = "all",
  aggr_group = "&",
  method = c("auto", "sample", "copula", "approx"),
  ...
)

Arguments

x

a SIMPle.dist or SIMPle.sample object

prob

numeric, coverage probability of credible interval

stats

character, specifies statistics to be calculated

aggr_var

character, function name how cover events are aggregated across variables

aggr_group

character, function name how cover events are aggregated across groups

method

character, method to calculate credible regions

...

further arguments, e.g. passed to draw_sample if method="sample"

Value

SIMPle.result object


maxwestphal/SIMPle documentation built on April 11, 2024, 4:07 p.m.