make_grid | R Documentation |
Make the deep MRA grid
make_grid( locs, min_x = -6, min_y = -6, max_x = 6, max_y = 6, M = 4, n_coarse_grid = 10, n_padding = 5L, n_neighbors = 68, max_points = NULL, basis_type = "wendland" )
locs |
An N x 2 matrix of spatial locations |
min_x |
The minimum value of the MRA grid in the x axis |
min_y |
The minimum value of the MRA grid in the y axis |
max_x |
The maximum value of the MRA grid in the x axis |
max_y |
The maximum value of the MRA grid in the y axis |
M |
The number of resolutions. |
n_coarse_grid |
The number of basis functions in one direction (e.g. |
n_padding |
The number of additional boundary points to add on each boundary. For example, n_padding = 5 will add 5 boundary knots to the both the left and right side of the grid). |
n_neighbors |
The expected number of neighbors for each interior basis function. This determines the basis radius parameter. |
max_points |
The maximum number of points in the |
basis_type |
The basis type. Currently only the "wendland" basis is supported |
use_spam |
Whether to use spam or Matrix for sparse matrix |
A grid object with locs_grid
for the MRA grid and radius
for the thresholded distance radius
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.