View source: R/create_random.R
create_random | R Documentation |
Create array of random image
create_random(path, overlap, side, h, probs)
path |
The path of where to save the RDS files |
overlap |
Logical. Are the channels allowed to overlap, such that they can be at the same pixels |
side |
Pixels in x,y dimension, a numeric |
h |
Height of image, i.e. number of layers |
probs |
Numeric vector with an element for each channel, these elements gives the probability for each pixel of being assigned to each channel. |
Creates arrays as RDS files in the specified path, and outputs the paths for these files
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.