max_per_n: Max value per segment of length n

Description Usage Arguments

View source: R/artifact_detection.R

Description

Give the maximum value of a vector of values per segment of length n.

Usage

1
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


wearables documentation built on Dec. 20, 2021, 5:08 p.m.