predict: Predictions and confidence intervals from a 'racirfit' object

Description Usage Arguments Value

Description

Predictions and confidence intervals from a racirfit object

Usage

1
2
predict_braycir(racirfit, .width = 0.95, .point = stats::median,
  .interval = tidybayes::qi)

Arguments

racirfit

An object of class racirfit containing a fitted RACiR curve.

.width

A probability to use that determine the width of the confidence intervals for plotting predicted A. Passed to point_interval. Default is 0.95.

.point

Point summary function for plotting predicted A from the posterior distribution. Function takes a vector and returns a single value, e.g. mean, median, or Mode. Default is median.

.interval

Interval function, which takes a vector and a probability (.width) and returns a two-element vector representing the lower and upper bound of an interval; e.g. qi, hdi. Default is qi.

Value

A tibble with columns:

To make plotting easier, values are not assigned units


cdmuir/bayCi documentation built on Jan. 19, 2020, 12:27 a.m.