Formula Interface How
Posted: Fri Mar 03, 2023 4:28 pm
I think it is nice that ttestIS also supports the formula interface and would like to also enable this for my package. What are the steps? So far, I have included
in the .a.yaml file and
in the b.R file but that does not seem sufficient for the compiler to add the formula argument to the function.
Code: Select all
formula:
vars:
from: lhs
required: true
group:
from: rhs
subset: 1
Code: Select all
.formula=function() {
jmvcore:::composeFormula(self$options$vars, self$options$group)
}