Learn R Programming

lpirfs (version 0.1.0)

create_nl_data: Compute data for nonlinear model

Description

Function to create data for non-linear model.

Usage

create_nl_data(specs, data_set_df)

Arguments

specs

A list() built with input data for lp_nl.

data_set_df

A data.frame() with all endogenous variables.

Value

List with filled matrices of lagged left (y_lin) and right hand side (x_lin) variables.