Description Usage Arguments Value Examples
Takes in a mask and an image and then returns the values
| 1 | 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
| 1 2 3 4 | 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.