approx_nk_grid: Create a grid of points close to a target number

Description Usage Arguments Value

View source: R/utilities.r

Description

Given a target number of points, creates an M x N grid of points, such that |M-N| <= 1

Usage

1
approx_nk_grid(nk, kmin = 3, kmax = 30)

Arguments

nk

target number of points

kmin

minimum number of points of the grid in one direction

kmax

maximum number of points of the grid in one direction

Value

A matrix of locations


jelsema/RRSM documentation built on May 19, 2019, 4:02 a.m.