Upsamples a given vector.

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.

References

Any basic signal processing text.

Author

B. Whitcher