Skip to content
Prev 395313 / 398502 Next

Issue from R-devel: subset on table

My mistake!


It does actually something else, which is incorrect. One could still use 
(although the code is more difficult to read):

subset(tmp <- table(sample(1:10, 100, T)), tmp > 10)


Sincerely,


Leonard
On 10/21/2023 10:26 PM, Leonard Mada wrote:
Note: The result was ok only by chance! But it is incorrect in general.