Learn R Programming

lpirfs (version 0.2.4)

create_panel_data: Prepare data sets for linear and nonlinear panel model

Description

Function to create panel data for linear and nonlinear model.

Usage

create_panel_data(specs, data_set)

Value

A list with prepared endogenous and exogenous data as well as the updated list specs.

Arguments

specs

A list with specifications created in lp_lin_panel or lp_nl_panel.

data_set

A data.frame consisting of a panel data set.