addDataAssociation {sms} | R Documentation |
Create a data lexicon for holding the associated column names
addDataAssociation(indf, data_names)
indf |
A data Lexicon (data.frame) created from the function: |
data_names |
A vector vith two elements. The first element should be the name of
the |
indf The imported data lexicon with one extra column.
Dimitris Kavroudakis dimitris123@gmail.com
library(sms)
data(survey)
data(census)
in.lexicon=createLexicon()
in.lexicon=addDataAssociation(in.lexicon, c("he","he"))
in.lexicon=addDataAssociation(in.lexicon, c("females","female"))
print(in.lexicon)