check.data: Checking data formats

check.dataR Documentation

Checking data formats

Description

Checks that data matches a concept

Usage

check.scalar.probability(x)
check.positive.scalar(x)
check.nonnegative.scalar(x)
check.probability.distribution(x)
check.scalar.integer(x)
check.scalar.boolean(x)

Arguments

x

An object to be checked.

Details

If the object does not match the concept being checked, stop is called. Otherwise TRUE is returned.

Author(s)

Steven L. Scott steve.the.bayesian@gmail.com


Boom documentation built on Nov. 10, 2022, 5:56 p.m.

Related to check.data in Boom...