Hello Everyone-
I'm calculating summary statistics on a dataset (~4000 records,
observations are not uniformly distributed) using summaryBy and trying
to add a column with the number of observations to the output as well.
What occurs to me is to use nrow(), but this doesn't appear to be working
On Mar 17, 2010, at 11:23 AM, Tony Laidig wrote:
Hello Everyone-
I'm calculating summary statistics on a dataset (~4000 records,
observations are not uniformly distributed) using summaryBy and trying
to add a column with the number of observations to the output as well.
What occurs to me is to
Hi David,
I have probably 2 stupid questions regarding what you said but it might
be important to understand:
- why nrow() would not make sens for a subsetted vector?
On the help page of nrow(), it's written that we can apply it on a
vector, array or dataframe (basically everything...?). So
On Mar 17, 2010, at 12:10 PM, Ivan Calandra wrote:
Hi David,
I have probably 2 stupid questions regarding what you said but it
might be important to understand:
- why nrow() would not make sens for a subsetted vector?
On the help page of nrow(), it's written that we can apply it on a
Use NROW rather than nrow.
On Wed, Mar 17, 2010 at 11:23 AM, Tony Laidig c...@mit.edu wrote:
Hello Everyone-
I'm calculating summary statistics on a dataset (~4000 records,
observations are not uniformly distributed) using summaryBy and trying
to add a column with the number of observations
5 matches
Mail list logo