On 6/14/2007 9:38 AM, Tobin, Jared wrote:
Hello,
I'm having a problem with using subset() inside a function I'm writing.
Ignoring everything else in the function, the problem can be illustrated
by (where master.frame is the data frame I'm using):
function1 - function(arg1=, arg2=,
Subject: Re: [R] Using subset() in a user-defined function
On 6/14/2007 9:38 AM, Tobin, Jared wrote:
Hello,
I'm having a problem with using subset() inside a function I'm
writing.
Ignoring everything else in the function, the problem can be
illustrated by (where master.frame is the data frame
: Tobin, Jared
Sent: Thursday, June 14, 2007 12:28 PM
To: 'Duncan Murdoch'
Cc: r-help@stat.math.ethz.ch
Subject: RE: [R] Using subset() in a user-defined function
Thanks for the quick response, Duncan.
The given code doesn't seem to work, and possibly due to this reason I
found in the online help
: Re: [R] Using subset() in a user-defined function
On 6/14/2007 9:38 AM, Tobin, Jared wrote:
Hello,
I'm having a problem with using subset() inside a function I'm
writing.
Ignoring everything else in the function, the problem can be
illustrated by (where master.frame is the data frame I'm
Antonio:
If the variable you are subsetting is a factor with multiple levels (and
it appears you have 15), then the levels of the factor remain and will
show up in summary, but your data set will only include the rows of data
that you want. I am pretty sure subset has worked properly in your
On 6 Dec 2004 at 7:55, Doran, Harold wrote:
Antonio:
If the variable you are subsetting is a factor with multiple levels
(and it appears you have 15), then the levels of the factor remain and
will show up in summary, but your data set will only include the rows
of data that you want. I