Displaying 1 result from an estimated 1 matches for "goulet_at_act".
2009 Jun 16
1
Testing if all elements are equal in a vector/matrix
...e for small differences /
*/>[1] TRUE /
*/> > isTRUE(all.equal(x, rep(x[1], length(x)))) # ugly /
*/>[1] TRUE /
*/> /
/>Best, /
/> /
/>Vincent /
/>-- /
/> Vincent Goulet, Associate Professor /
/> École d'actuariat /
/> Université Laval, Québec /
/> Vincent.Goulet_at_act.ulaval.ca
<mailto:Vincent.Goulet_at_act.ulaval.ca?Subject=Re:%20%5BR%5D%20Testing%20if%20all%20elements%20are%20equal%20in%20a%20vector/matrix>
http://vgoulet.act.ulaval.ca /
/> /
/>______________________________________________ /
/>R-help@stat.math.ethz.ch mailing list /
/>http...