Description Usage Arguments Value See Also Examples
This method overrides the default summarise_at
method from
package dplyr to work with data generated by function
getMultSimData
. It basically groups the data before
summarising, so that the functions are applied for every time value
separately.
1 2 3 4 5 6 7 | summarise_at(.tbl, .vars, .funs, ...)
## S3 method for class 'multSimData'
summarise_at(.tbl, .vars, .funs, ...)
## S3 method for class 'multSim'
summarise_at(.tbl, .vars, .funs, ...)
|
.tbl |
a data.frame returned by method |
.vars |
a character vector of variable names to apply the functions for |
.funs |
a list of function calls generated by |
... |
Additional arguments for the function calls in .funs. |
a tbl
with the applied function values
summarise_at for the original method, plotStats to plot the calculated values
1 2 3 4 | data("simplePdmp")
md <- getMultSimData(multSim(simplePdmp, 1:10))
summarise_at(md, .vars = c("f", "d"), .funs = c("min", "max"))
summarise_at(md, .vars = "f", .funs = dplyr::funs(10 * quantile(., 0.75)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.