Skip to content
Prev 58892 / 63424 Next

sum() vs cumsum() implicit type coercion

On 8/23/20 5:02 PM, Rory Winston wrote:
Yes. I don't know the reason for this design, but please note it is 
documented in ?sum and in ?cumsum, which would also make it harder to 
change. One can always use a consistent subset (not rely on the coercion 
e.g. from characters).

Best
Tomas