powered by
This function matches vectors of two different lengths
weight.lag(x1, x2)
a vector
a matrix with two rows with the shortest length of the vector as the number of columns
# NOT RUN { weight.lag(1:5, 2:9) weight.lag (seq(0, 10, 2), seq(4, 10, 2)) # }
Run the code above in your browser using DataLab