n_pos {matrixdist}R Documentation

Find how many states have positive reward

Description

Find how many states have positive reward

Usage

n_pos(R)

Arguments

R

reward vector

Value

The number of states with positive rewards


[Package matrixdist version 1.1.9 Index]