You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@BorgeJorge one sided formulas are typically not used in functions like lm or glm, which expects both a predictor and and a outcome variables. How would this be useful.
One-sided formulas are used in xtabs(), cor.test(), nlme(), reStruct(), pairs(), plot.lme(), model.matrix(), snm(), matchit(), weightit(), and several other functions. It's common enough that the stats package provides a function to create a one-sided formula (asOneSidedFormula()), cobalt::f.build() will also create one, and is.one.sided() will test for one.
Title says it all!
The text was updated successfully, but these errors were encountered: