A simple function to check a value is probability type data.

checkProbabilityTypeData(x)

Arguments

x

A value that need to be checked.

Value

Error or NULL