distribute_knots_uniformgrid: Distribute knots uniformly in a grid

Description Usage Arguments Details

Description

For each dimension, places the given number of knots evenly spaced covering the range of coordinates plus a small margin.

Usage

1
distribute_knots_uniformgrid(coordinates, n.knots, autofill)

Arguments

coordinates

matrix(-like) of observation coordinates

n.knots

numeric. Vector of length two with an integer number of knots in each dimension.

autofill

logical. If TRUE (default) it will try to fill gaps in the rows or columns. Otherwise, it will treat gaps the same way as adjacent rows or columns.

Details

The margin is calculated as half the median separation between observations. Furthermore, three more knots are added with equal spacing at each side, for each dimension.


famuvie/breedR documentation built on Sept. 6, 2021, 4:50 a.m.