3 ms·
As much as I love R, there are indeed quirks that I think R allows to happen but shouldn't. For example: mean(2, 4) # outputs 2 mean(c(2, 4)) # output
by j7ake 7y ago
As much as I love R, there are indeed quirks that I think R allows to happen but shouldn't.
For example:
mean(2, 4) # outputs 2
mean(c(2, 4)) # outputs 3
I really don't see why R allows you to enter mean(2,4) without giving an error.