Description Usage Arguments Value Examples
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).
1 2 | ## S3 method for class 'by'
summarize(x, step = 1000, fun = "mean")
|
x |
object |
step |
number of entries |
fun |
function |
vector
1 2 3 4 5 | ## Not run:
dat<-data.frame(matrix(runif(100000,0,1),ncol=10))
summarize.by(dat)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.