Learn R Programming

matrixdist (version 1.1.9)

rew_sanity_check: Transform a reward matrix with very small rewards to avoid numerical problems

Description

Transform a reward matrix with very small rewards to avoid numerical problems

Usage

rew_sanity_check(R, tol)

Value

A reward matrix that does not cause issues with uniformization

Arguments

R

Reward matrix

tol

Lower bound considered for a reward