[R] Math ops behaviour with multiple classes

Hadley Wickham h.wickham at gmail.com
Fri Jun 9 02:01:48 CEST 2017


On Thu, Jun 8, 2017 at 2:45 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
> I think you may be confusing (S3) class and ?mode.

Your point is well made, but to be precise, I think you should talk
about the "type of" an object, not it's mode. mode() is a wrapper
around typeof(), designed (I believe) for S compatibility.

Hadley

-- 
http://hadley.nz



More information about the R-help mailing list