tapplydf: a friendly version of tapply for dataframes

Description Usage Arguments Value

View source: R/beginr.R

Description

a friendly version of tapply for dataframes

Usage

1
2
3
4
5
6
7
tapplydf(
  data,
  select = names(data),
  myfactor,
  ...,
  na.rm = c(TRUE, FALSE, NULL)[1]
)

Arguments

data

dataframe

select

character, column names to calc

myfactor

a colname as factor

...

function to apply to data

na.rm

logical

Value

a dataframe


pzhaonet/beginr documentation built on March 27, 2021, 1:20 p.m.