Closed gdevenyi closed 5 years ago
For historical reasons. The - causes problems with data.tree, the underlying library we use for hierarchical trees. So we could have either changed all the other, older bits of code with the potential failure in scripts that would cause, to do what we did here and have some inconsistency. Happy to change everything to ‘.’ If the breakage is worth the consistency.
Jason
This e-mail may contain confidential, personal and/or health information(information which may be subject to legal restrictions on use, retention and/or disclosure) for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.
A foolish consistency is the hobgoblin of little minds.
I'd be happy with a better way to find the column names in the hanat* model object. I found that I couldn't inspect the object in rstudio unlike some other RMINC objects, and printing it resulted in the tree, rather than the model columns being displayed. Eventually found that names worked.
Of course #242 caused pain as well, since I didn't know I was misnaming the column to begin with.
I think I'll close this for now. If anyone feels strongly that we should change the naming convention we can reopen.
A anatLmer model has columns such as "tvalue-age", an equivalent hanatLmer model has "tvalue.age" instead. Took us a while to figure this out as #242 didn't give us the most useful error.