[R] find multiple mode, sorry for not providing enough information
Abby Spurdle
@purd|e@@ @end|ng |rom gm@||@com
Tue Mar 17 01:14:15 CET 2020
#bug fix
unique.consecutive <- function (x)
{ dx <- diff (x)
x [c (TRUE, dx != 0)]
}
More information about the R-help
mailing list