View source: R/hist.antsImage.R
mask_values | R Documentation |
Takes in a mask and an image and then returns the values
mask_values(x, mask)
x |
Object of class |
mask |
object to subset the image. If missing, then all values of the image are plotted. |
Vector of values
img <- makeImage(c(10, 10), rnorm(100))
mask <- img > 0
mask_values(img, mask)
mask_values(img)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.