Description Usage Arguments Examples
Calculate blockwise summary statistics on the surface matrix of an x3p.
1 | x3p_average(x3p, b = 10, f = mean, ...)
|
x3p |
x3p object |
b |
positive integer value, block size |
f |
function aggregate function |
... |
parameters passed on to function f. Make sure to use na.rm = T as needed. |
1 2 | logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
small <- x3p_average(logo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.