mean_vec_blocks {spant} | R Documentation |
Calculate the mean of adjacent blocks in a vector.
Description
Calculate the mean of adjacent blocks in a vector.
Usage
mean_vec_blocks(x, block_size)
Arguments
x |
input vector. |
block_size |
number of adjacent elements to average over. |
Value
vector data averaged in blocks.
[Package spant version 2.22.0 Index]