Learn R Programming

obfuscatoR (version 0.2.2)

calc_pr_aj_rk: Calculate Pr(a_j|r_k)

Description

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.

Usage

calc_pr_aj_rk(design)

Value

An r x a matrix of probabilities

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.