autoCode {dlsem} | R Documentation |
Automated model code
Description
Given a set of variable names, a model code including all the possible edges is built.
Usage
autoCode(var.names, lag.type = "ecq")
Arguments
var.names |
A vector containing the names of the variables, which must be at least of length 2. |
lag.type |
The type of lag shape, which will be applied to all variables and must be one among 'ecq', 'qd', 'ld', 'gam' and 'none'. Default is 'ecq'. |
Value
A list of formulas to be passed as argument model.code
in dlsem()
.
See Also
Examples
autoCode(c("Job","Consum","Pollution"),lag.type="ecq")
[Package dlsem version 2.4.6 Index]