calc_pr_aj_rk: Calculate Pr(a_j|r_k)

View source: R/calc_entropy.R

calc_pr_aj_rkR Documentation

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)

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


obfuscatoR documentation built on Sept. 8, 2023, 5:48 p.m.