lamho86 / phylolm

GNU General Public License v2.0
30 stars 12 forks source link

Check that the response is univariate (vector or only one column). #40

Closed pbastide closed 3 years ago

pbastide commented 3 years ago

Hi,

As discussed earlier, I added an error when a matrix response is given to phylolm, instead of just a vector.

Current version would otherwise give an inconsistent result without throwing any warning.

Fitting each column independently as lm does could be interesting in the future, but might require more work.

Best, Paul