Dear developers!
Please do not make like this:
formula <- as.formula(paste(paste(dep, paste0(vars, collapse ="+"), sep="~")))
This command does not handle complex variable names correctly (for example 'RBC (10^9/l)')
Please do:
formula <- jmvcore::constructFormula(self$options$dep, self$options$vars)
or at least put variable name in quotes.
Correct formula
Re: Correct formula
yup, good tip.
described in the docs here:
https://dev.jamovi.org/tuts0104-impleme ... lysis.html
jonathon
described in the docs here:
https://dev.jamovi.org/tuts0104-impleme ... lysis.html
jonathon