Description Usage Arguments Value Examples
Sample coordinates from image
| 1 | coords_from_image(x, n)
 | 
| x | is of class cimg | 
| n | is the number of coordinates (positive integer) | 
coordinates x and y
| 1 2 | a.m <- load.image("https://upload.wikimedia.org/wikipedia/commons/0/02/2006-10-25_Amanita_muscaria_crop.jpg")
xy <- coords_from_image(a.m, n = 2)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.