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) # }
Run the code above in your browser using DataLab