RobinHankin / mvp

https://robinhankin.github.io/mvp/
8 stars 3 forks source link

onevarpow() is misnamed #34

Open RobinHankin opened 5 years ago

RobinHankin commented 5 years ago

Function onevarpow() is misnamed because it can take any number of variables, as in onevarpow(P,x=1,y=2). It is not just one variable's power (which was the original reason this name was chosen). Also, it returns an mvp object, in general; so it is not a coefficient extraction function. Maybe something like getvarpow() would be more appropriate.