n_pos: Find how many states have positive reward

View source: R/RcppExports.R

n_posR 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


matrixdist documentation built on Aug. 8, 2023, 5:06 p.m.