Ensures input values are non-negative.

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.