Open rvlenth opened 7 years ago
Maybe even better to just leave it NULL
@rvlenth Thanks for opening the issue. I agree that this is unfortunate and I think NULL
is probably the best way to go. At this point it would be a bit of a pain to change it since we use the family
element of a stanreg object internally in many places, but I think it's worth doing the next time we do some refactoring.
In the documentation for
stanreg
objects,object$family
is supposed to be of class"family"
; however, the object returned bystan_polr
puts a character string there.Example
I suggest that instead this should be
binomial(link = "probit")
. I realize that "binomial" isn't quite right, but it is in a sense right with regard to each ordinal cut point, and the classes of objects should be as documented.Operating System:
First part of
sessionInfo():