Skip to content
Prev 138909 / 398525 Next

Warning: matrix by vector division

R is working exactly as documented.  If you look at how the matrix is
stored  (column-wise) and then what you are dividing by, you will see
that it is doing what you asked (when recycling values):
[1] 0 1 1 1 1 1
[1] 0.0000000 0.3333333 0.5000000 0.3333333 0.5000000 0.3333333

        
On Fri, Mar 7, 2008 at 5:32 PM, Alexey Shipunov <dactylorhiza at gmail.com> wrote: