Hi,
In the documentation of stats::median, in "The default method returns a
length-one object of the same type as x, except when x is logical or
integer of even length, when the result will be double.", I think a
better version of "when the result will be double" might be "in which
case the result will be double.".
Best,
Samuel
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.