Learn R Programming

waveslim (version 1.8.5)

up.sample: Upsampling of a vector

Description

Upsamples a given vector.

Usage

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

Value

A vector twice its length.

Arguments

x

vector of observations

f

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

y

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

Author

B. Whitcher

References

Any basic signal processing text.