composeFormula {jmvcore} | R Documentation |
Compose a formula string
Description
Compose a formula string
Usage
composeFormula(lht, rht)
Arguments
lht |
list of character vectors making up the left |
rht |
list of character vectors making up the right |
Value
a string representation of the formula
Examples
composeFormula(list('a', 'b', c('a', 'b')))
# ~a+b+a:b
composeFormula('f', list('a', 'b', c('a', 'b')))
# "f~a+b+a:b"
composeFormula('with spaces', list('a', 'b', c('a', 'b')))
'`with spaces`~a+b+a:b'
[Package jmvcore version 2.4.7 Index]