display.cimg | R Documentation |
Press escape or close the window to exit. Note that you need X11 library to use this function.
## S3 method for class 'cimg'
display(x, ..., rescale = TRUE)
x |
an image (cimg object) |
... |
ignored |
rescale |
if true pixel values are rescaled to [0-1] (default TRUE) |
##Not run: interactive only
##display(boats,TRUE) #Normalisation on
##display(boats/2,TRUE) #Normalisation on, so same as above
##display(boats,FALSE) #Normalisation off
##display(boats/2,FALSE) #Normalisation off, so different from above
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.