On Thu, 10 Dec 2009 13:56:12 -0600 Peng Yu pengyu...@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
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Karl Ove Hufthammer
Sent: Thursday, December 10, 2009 1:46 AM
To: r-h...@stat.math.ethz.ch
Subject: Re: [R] How to figure out which the version of split is used?
On Wed, 9 Dec
On Wed, 09-Dec-2009 at 07:20PM -0600, Peng Yu wrote:
| There are a number of functions that are dispatched to from split().
|
| methods('split')
| [1] split.data.frame split.Date split.defaultsplit.POSIXct
|
| Is there a way to figure out which of these variants is actually
|
On Wed, 9 Dec 2009 19:20:47 -0600 Peng Yu pengyu...@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
On Thu, Dec 10, 2009 at 3:46 AM, Karl Ove Hufthammer k...@huftis.org wrote:
On Wed, 9 Dec 2009 19:20:47 -0600 Peng Yu pengyu...@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
There are a number of functions that are dispatched to from split().
methods('split')
[1] split.data.frame split.Date split.defaultsplit.POSIXct
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
6 matches
Mail list logo