check_constant_vars | R Documentation |
Check if any variables in a model frame are constants (the exception is that a constant variable of all 1's is allowed)
check_constant_vars(mf)
mf |
A model frame or model matrix |
If no constant variables are found mf is returned, otherwise an error is thrown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.