Thanks David
Bernard
Sent from my iPhone so please excuse the spelling!"
> On Jan 17, 2021, at 5:59 PM, David Winsemius wrote:
>
>
>> On 1/17/21 12:15 PM, Bernard McGarvey wrote:
>> I have a data frame that consists of several factor columns say A, B, C, D,
>> and E and several columns conta
On 1/17/21 12:15 PM, Bernard McGarvey wrote:
I have a data frame that consists of several factor columns say A, B, C, D, and
E and several columns containing numerical data, say X1, X2, X10. I would
like to create statistics of some of the numerical columns by some of the
factor columns
Thanks Bert
Bernard
Sent from my iPhone so please excuse the spelling!"
> On Jan 17, 2021, at 3:48 PM, Bert Gunter wrote:
>
>
> There are literally tons of ways to do this sort of thing in R.
>
> In base R ?tapply and friends, especially ?ave and ?by that may be close to
> what you want.
>
There are literally tons of ways to do this sort of thing in R.
In base R ?tapply and friends, especially ?ave and ?by that may be close to
what you want.
But there is a whole parallel universe -- the so-called "tidyverse set of
packages -- that many folks prefer.
This link takes you down that rab
I have a data frame that consists of several factor columns say A, B, C, D, and
E and several columns containing numerical data, say X1, X2, X10. I would
like to create statistics of some of the numerical columns by some of the
factor columns. For example,
Calculate the mean, min, and max
5 matches
Mail list logo