Skip to contents

Ensures input values are non-negative.

Usage

check_alpha(alpha)

check_theta(theta)

Arguments

alpha

Values of alpha to check.

theta

Values of theta to check.

Value

An error if any theta or alpha is negative; an invisible value otherwise. NA values do not throw an error.