Learn R Programming

LPWC (version 0.99.2)

weight.lag: Weight Lag

Description

This function matches vectors of two different lengths

Usage

weight.lag(x1, x2)

Arguments

x1

a vector

x2

a vector

Value

a matrix with two rows with the shortest length of the vector as the number of columns

Examples

Run this code
# NOT RUN {
weight.lag(1:5, 2:9)


# }

Run the code above in your browser using DataLab