up.sample: Upsampling of a vector

View source: R/up.sample.R

up.sampleR Documentation

Upsampling of a vector

Description

Upsamples a given vector.

Usage

up.sample(x, f, y = NA)

Arguments

x

vector of observations

f

frequency of upsampling; e.g, 2, 4, etc.

y

value to upsample with; e.g., NA, 0, etc.

Value

A vector twice its length.

Author(s)

B. Whitcher

References

Any basic signal processing text.


waveslim documentation built on June 22, 2024, 9:43 a.m.