Skip to contents

Title

Usage

get_tips(
  x,
  type = c("marginals", "samples", "mode", "mean", "median", "lower", "upper", "ci",
    "hpd", "sd"),
  n = 1,
  p = 0.05
)

Arguments

x

A fitted model object produced by fibrer

type

What kind of posterior summary to return?

n

If type = "samples", how many samples to return?

p

If type = "hpd", what alpha levels to use?

Value

For all types except "hpd", "ci", and "marginals", a numeric vector, otherwise a list for "hpd" and "marginals", and a matrix for "ci".