View source: R/even_vert_samp.R
| even_vert_samp | R Documentation |
Get a subset of the mesh vertices that are spatially evenly-sampled, by resampling the mesh and choosing the original vertices closest (Euclidian distance) to the new vertices.
even_vert_samp(surf, n_vert)
surf |
A |
n_vert |
The desired number of vertices in the evenly-spaced sample.
Note that the actual size of the subset will likely be close to but not
exactly |
An integer vector giving the indices of the vertices in the subset.
Other surface-related:
add_surf(),
boundary_mask_surf(),
edit_mask_surf(),
is.surf(),
load_surf(),
mask_surf(),
read_surf(),
resample_surf(),
rotate_surf(),
surf_area(),
view_surf(),
write_surf_gifti()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.