Learn R Programming

PhaseTypeR (version 1.0.4)

check_reward: Checking reward matrix

Description

This function checks whether the shape of the reward matrix is correct.

Usage

check_reward(reward_mat, init_probs)

Arguments

reward_mat

Reward matrix

init_probs

Initial probability vector.