The function calculates the probability of an action conditional on a given rule and is part of calculating the entropy of an action. The function is meant for internal use only.

calc_pr_aj_rk(design)

Arguments

design

A matrix with rows equal to the number of rules and columns equal to the number of actions or a list of such matrices.

Value

An r x a matrix of probabilities