state_space_reconstruction: State Space Reconstruction (SSR)

state_space_reconstructionR Documentation

State Space Reconstruction (SSR)

Description

Rows are centred and scaled points in the state-space reconstruction.

Usage

state_space_reconstruction(data, response, lags)

Arguments

data

[matrix()] with variables as named columns

response

[character()] column name of the response variable

lags

[list()] of a named vector of lags for each explanatory variable

Value

[state_space_reconstruction()] [matrix()] with unlagged response and lagged explanatory variables centred on their means and scaled by their respective standard deviations, with automatically generated column names.

Author(s)

Luke A. Rogers

Examples

d <- data.frame(x = 1:10, y = 11:20)
state_space_reconstruction(d, response = "x", lags = list(y = c(0, 1, 2, 3)))


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