fact: nearsq helper

View source: R/helper.R

factR Documentation

nearsq helper

Description

Finds the largest x for which n %% x == 0

Usage

fact(n)

Arguments

n

number of plots to fit.

Details

Obtained here: https://stackoverflow.com/questions/32017327/calculate-the-optimal-grid-layout-dimensions-for-a-given-amount-of-plots-in-r

Value

An integer


hugomflavio/actel documentation built on April 18, 2024, 4:23 a.m.