Closed andrewraim closed 3 years ago
Throw an error if S
or W
matrix have zero rows, which indicates that there isn't enough context from the data about what their dimension should be. Give a descriptive message about using the data
argument to resolve the situation. Also added formulas.R
to internal-tests
folder to check the behavior.
There is an issue with formula processing. Here is a small example to illustrate.
In the first two cases, The
nu
formula is missing the length of the data.