powered by
Finds the largest x for which n %% x == 0
fact(n)
An integer
number of plots to fit.
Obtained here: https://stackoverflow.com/questions/32017327/calculate-the-optimal-grid-layout-dimensions-for-a-given-amount-of-plots-in-r