Displaying 1 result from an estimated 1 matches for "dvect".
Did you mean:
vect
2012 Mar 17
3
rtriang using ifelse statement
Hi All,
I want to draw samples (n=4) from one of 2 triangular distributions for
each value in a matrix. I am using an ifelse statement to try to define
which distribution to draw from.
>From the output, I can see that the ifelse statement is choosing the correct
distribution, however, my n=4 simulations aren't occurring. Is there a way
to adjust the ifelse statement to fix this, or must