matthewwolak / nadiv

R package that constructs (non)additive genetic relationship matrices, and their inverses, from a pedigree to be used in linear mixed effect models (A.K.A. the 'animal model').
17 stars 7 forks source link

dimname compliance with Matrix v1.2-1 #3

Closed matthewwolak closed 9 years ago

matthewwolak commented 9 years ago

With the update of the Matrix package, I need to ensure that slot @Dimnames for 'Matrix' objects consist of character vectors. Issue is explained in an e-mail to matthewwolak@gmail.com from Martin Maechler 05/30/2015.

Additionally, assign the list for slot @Dimnames using the 'dimnames' argument to Matrix() or sparseMatrix() instead of @Dimnames.

matthewwolak commented 9 years ago

see commit message for explanation of what was changed and what was only altered to conform to requirements