'no'>env</span>$<span class='fu'>step</span>(<span class='fl'>100</span>)</div><div class='output co'>#&gt; $state
#&gt; $state$mean
#&gt; [1] 98.42394
#&gt; 
#&gt; $state$sd
#&gt; [1] 0.9320559
#&gt; 
#&gt; 
#&gt; $reward
#&gt; [1] 97.7765
#&gt; 
#&gt; $done
#&gt; [1] FALSE
#&gt; </div><div class='input'>
<span class='co'># Create a Markov Decision Process.</span>
<span class='no'>P</span> <span class='kw'>=</span> <span class='fu'>array</span>(<span class='fl'>0</span>, <span class='fu'>c</span>(<span cla