determinantStructure('using R',
list('using R',
behaviorRegEx = 'some RegEx'),
determinantVar("Intention",
"another RegEx",
determinantVar("Attitude",
"third RegEX",
subdeterminants("Likelihood",
"4th RegEx"),
subdeterminants("Evaluation",
"5th RegEx"),
subdeterminantProducts("attProduct",
c("4th RegEx",
"5th RegEx"))),
determinantVar("perceivedNorm",
"6th RegEx",
subdeterminants("Approval",
"7th RegEx"),
subdeterminants("Motivation to comply",
"8th RegEx"),
subdeterminantProducts("normProduct",
c("7th RegEx",
"8th RegEx"))),
determinantVar("pbc",
"9th RegEx",
subdeterminants("Control beliefs",
"10th RegEx"))));
Run the code above in your browser using DataLab