expect_isInInterval: expect isInInterval

Description Usage Arguments Details Author(s) See Also

View source: R/testthat.R

Description

expect_true( all((current >= targetMin) && (current <= targetMax)) )

Usage

1
2
expect_isInInterval(current, targetMin = 0.025, targetMax = 0.975, 
    ...)

Arguments

current
targetMin
targetMax
...

further arguments passed to expect_true

Details

all parameters will be recycled int the comparison targetMin and targetMax default to two p of sided 95% confidence interval

Author(s)

Thomas Wutzler

See Also

twMisc expect_isOfMagnitude


twMisc documentation built on May 2, 2019, 6:11 p.m.