summarize.by: Summarize content

Description Usage Arguments Value Examples

Description

This function takes the R object on which we need to obtain statistics (x), how many entries should each summary contain (step, defaulting to 1000), and the function we want to apply (fun, defaulting to mean).

Usage

1
2
## S3 method for class 'by'
summarize(x, step = 1000, fun = "mean")

Arguments

x

object

step

number of entries

fun

function

Value

vector

Examples

1
2
3
4
5
## Not run: 
dat<-data.frame(matrix(runif(100000,0,1),ncol=10))
summarize.by(dat)

## End(Not run)

drewgriffith15/griffun documentation built on May 15, 2019, 1:56 p.m.