max_per_n {wearables} | R Documentation |
Max value per segment of length n
Description
Give the maximum value of a vector of values per segment of length n.
Usage
max_per_n(values, n, output_length)
Arguments
values |
array of numbers |
n |
length of each segment |
output_length |
argument to adjust for final segment not being full |
[Package wearables version 0.8.1 Index]