Last data update: 2014.03.03
R: Adding an entry made to the relations
dpa.relations.addRelations R Documentation
Adding an entry made to the relations
Description
Add relation function adds entries (made by the user in the dataframe of relations window) to
the relations one at a time.The relations are added one row after the other. The
final relation hence created is used further in the analysis and plotting part.
Usage
dpa.relations.addRelations(From_column = NULL, To_column = NULL, Lag_in = NULL, minLag = NULL, maxLag = NULL, Direction = NULL)
Arguments
From_column
The character string which is the variable name from which the relation starts (From column).
To_column
The character string which is the variable name at which the relation ends (To column).
Lag_in
The character string which is the variable name for which lagged parameters are to be created.
minLag
Minimum lag which is to be created in Lag_in column.
maxLag
Maximum lag which is to be created in Lag_in column.
Direction
Specify whether direction is unidirectional or bidirectional.
Author(s)
Emile J.L. Chappin
References
http://www.chappin.com
Examples
#addRelations("a","b","From",0,2,"UniDirectional")
Results