composeFormula | R Documentation |
Compose a formula string
composeFormula(lht, rht)
lht |
list of character vectors making up the left |
rht |
list of character vectors making up the right |
a string representation of the formula
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'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.