rem: Remove leading and trailing values

Description Usage Arguments Value

View source: R/util_functions.R

Description

remove n/2 elements from the front and the end

Usage

1
rem(a, n)

Arguments

a

vector

n

window size of the corresponding running function

Value

vector, shortened by (n - 1) elements


deWitLab/peakC documentation built on May 6, 2018, 8:50 p.m.