prop_in_ci: Proportion of observations in given credible interval

Description Usage Arguments Details Value Author(s)

View source: R/metrics.R

Description

Proportion of observations in given credible interval

Usage

1

Arguments

obs

vector of observed values

min

vector of the lower end of the interval. Either length 1 vector or the same length as the that of obs.

max

vector of the upper end of the interval. Either length 1 or the same length as that of the obs vector.

Details

Proportion of observed values that fall within a given interval

Value

proportion of values in obs vector that are greater than or equal to min and less than or equal to max.

Author(s)

Sangeeta Bhatia


sangeetabhatia03/assessr documentation built on Aug. 22, 2020, 9:32 a.m.