View source: R/SOptim_SimulateTestData-v1.R
simRasterFeatures | R Documentation |
Simulate a SpatRaster
with multiple layers similar to features used in
segmentation or supervised classification.
simRasterFeatures(
nr = 100,
nc = 100,
nlyrs = 5,
distr = "rnorm",
args = list(n = nr * nc, mean = 0, sd = 1)
)
nr |
Number of rows for the simulated |
nc |
Number of columns for the simulated |
nlyrs |
Number of layers or bands to simulate (default: 5) |
distr |
Name of the function to simulate data (default: random normal "rnorm") |
args |
A list object with arguments to use in |
A SpatRaster
with simulated data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.