[R] How to figure out which the version of split is used?

Karl Ove Hufthammer karl at huftis.org
Thu Dec 10 10:46:12 CET 2009


On Wed, 9 Dec 2009 19:20:47 -0600 Peng Yu <pengyu.ut at gmail.com> wrote:
> Is there a way to figure out which of these variants is actually
> dispatched to when I call split? I know that if the argument is of the
> type data.frame, split.data.frame will be called? Is it the case that
> if the argument is not of type data.frame, Date or POSIXct,
> split.default will be called?

Yes. See ?UseMethod

-- 
Karl Ove Hufthammer




More information about the R-help mailing list