Guess the number of bins for plot_rank_hist().

guess_rank_hist_bins(max_rank, N)

Arguments

max_rank

the maximum rank observed

N

the number of ranks observed