pbsZ: Create Z Matrix

pbsZR Documentation

Create Z Matrix

Description

Create Z Matrix

Usage

pbsZ(N, first_difference)

Arguments

N

[matrix()] with [numeric()] columns.

first_difference

[logical()] First difference columns of N?

Value

[matrix()] Z

Examples

N <- data.frame(x = 1:10, y = 11:20)
lags <- list(x = c(0, 1, 2), y = c(0, 1))
N <- pbsN(N, lags)
Z <- pbsZ(N, first_difference = FALSE)


luke-a-rogers/pbsedm documentation built on June 3, 2024, 5:20 a.m.