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

Karl Ove Hufthammer karl at huftis.org
Fri Dec 11 10:37:39 CET 2009


On Thu, 10 Dec 2009 13:56:12 -0600 Peng Yu <pengyu.ut at gmail.com> wrote:
> >> 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
> 
> I tried it. But I'm not sure how to use it. Would you please give me a
> working example?

Typing 'split' shows a nice example ... :-)

-- 
Karl Ove Hufthammer




More information about the R-help mailing list