check_data {GCCfactor} | R Documentation |
Check validity of the data and headers
Description
This is an internal function which checks the validity of the data and
provide a list of matrices of length R
for estimation.
Usage
check_data(
data,
depvar_header = NULL,
i_header = NULL,
j_header = NULL,
t_header = NULL
)
Arguments
data |
Either a data.frame or a list of data matrices of length |
depvar_header |
A character string specifying the header of the dependent variable. See Details. |
i_header |
A character string specifying the header of the block identifier. See Details. |
j_header |
A character string specifying the header of the individual identifier. See Details. |
t_header |
A character string specifying the header of the time identifier. See Details. |
Details
See Details of GCC().
Value
A list of data matrices of length R
.
Examples
panel <- UKhouse # load the data
Y_list <- check_data(panel,
depvar_header = "dlPrice", i_header = "Region",
j_header = "LPA_Type", t_header = "Date"
)
[Package GCCfactor version 1.0.1 Index]