KWB-R / fhpredict

R Package for the Project Flusshygiene
https://kwb-r.github.io/fhpredict
MIT License
2 stars 0 forks source link

Error decomposing model formula #68

Closed hsonne closed 4 years ago

hsonne commented 4 years ago
> x 
log_e.coli ~ q_tiefwerder_mean_1234 * (ka_ruhleben_mean_12345 + rain_mean_mean_12345)

> get_indipendent_variables(x) 
[1] "q_tiefwerder_mean_1234"
[2] "("
[3] "ka_ruhleben_mean_12345 + rain_mean_mean_12345"
hsonne commented 4 years ago

This has been fixed using R's base function all.vars()