weight.lag: Weight Lag

Description Usage Arguments Value Author(s) Examples

View source: R/weight_lag.R

Description

This function matches vectors of two different lengths

Usage

1
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

Author(s)

Thevaa Chandereng, Anthony Gitter

Examples

1
2
weight.lag(1:5, 2:9)
weight.lag (seq(0, 10, 2), seq(4, 10, 2))

LPWC documentation built on March 26, 2020, 7:48 p.m.