One of the three values - NA, TRUE or FALSE. If NA then check for distrubution (sum(.data) == 1)
and normalise if needed with the given laplace correction value. if TRUE then do normalisation and laplace
correction. If FALSE then don't do normalisaton and laplace correction.
.laplace
Value for the laplace correction.
.na.val
Replace all NAs with this value.
.warn.zero
if TRUE then the function checks if in the resulted vector (after normalisation)
are any zeros, and prints a warning message if there are some.
.warn.sum
if TRUE then the function checks if the sum of resulted vector (after normalisation)
is equal to one, and prints a warning message if not.