pad: Pad a vector with zeros

View source: R/utils.R

padR Documentation

Pad a vector with zeros

Description

Pads a vector with zeros at the beginning and end.

Usage

pad(x, n, startval = 0, endval = 0)

Arguments

x

vector to pad

n

number of zeros to pad

startval

value to add at the start of the vector - defaults to zero

endval

value to add at the end of the vector - defaults to zero


craddm/eegUtils documentation built on March 24, 2022, 9:17 a.m.