eq2var | R Documentation |
make data.frame with equation
eq2var(eq, labels = list())
eq |
equation |
labels |
A list |
labels=list(X="frame",M="justify",Y="donate",W="skeptic") eq="donate~justify+frame+skeptic+frame:skeptic" eq2var(eq,labels=labels) eq="Y~M+W+M:W+X+X:W" labels=list(X="X",M="M",Y="Y") eq2var(eq,labels=labels) eq="wine~baby+milk+baby:milk" labels=list(X="baby",M=c("wine","tent","sand"),Y="tile",W="milk") eq2var(eq,labels=labels) eq="M3~X" eq="Y~M1+M2+X" labels=list(X="X",M=c("M1","M2"),Y="Y") eq2var(eq,labels=labels)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.