ICTatRTI / PersonAlytics

PersonAlytics: Analytics for single-case and small N intensive longitudinal designs, idiographic clinical trials (ICT), and interrupted time series.
3 stars 2 forks source link

add no intercept option `-1` in `PersonAlytic` #22

Closed stueller closed 2 years ago

stueller commented 2 years ago

-1 can be passed via userFormula but an error occurs in forms() because -1 is not a variable name in the data set. I added an escape for "-1", but must check whether whether spaces are an issue.

stueller commented 2 years ago

space should not be an issue:

> formula(y ~ - 1) y ~ -1

That said, we need to ensure forms() is an adequate check of userFormula.

stueller commented 2 years ago

-1 is implemented via userFormula , no direct option currently selected. forms() has been checked and is an adequate check of userFormula for a single model. This still needs to be tested for high throughput.

stueller commented 2 years ago

see t2 in examples for byPhasebyGroup(). Currently fails. Open a new issue.