Learn R Programming

DDD (version 5.2.2)

conv: Function to do convolution of two vectors

Description

Convolution of two vectors

Usage

conv(x, y)

Value

vector that is the convolution of x and y

Arguments

x

first vector

y

second vector

Author

Rampal S. Etienne

References

- Etienne, R.S. et al. 2012, Proc. Roy. Soc. B 279: 1300-1309, doi: 10.1098/rspb.2011.1439
- Etienne, R.S. & B. Haegeman 2012. Am. Nat. 180: E75-E89, doi: 10.1086/667574

Examples

Run this code

conv(1:10,1:10)

Run the code above in your browser using DataLab