Closed RobinHankin closed 5 years ago
it would be nice to have a function that tests for a mvp object being constant:
mvp
is.constant(as.mvp("3")) # should return TRUE is.constant(as.mvp("1+x")) # should return FALSE
The best way to to this would be length(allvars(P))==0
length(allvars(P))==0
it would be nice to have a function that tests for a
mvp
object being constant: