papaya.RdWraps a widget for the Papaya JavaScript library
papaya(img = NULL, elementId = NULL, width = NULL, height = NULL, options = NULL)
| img | Vector of character file names or list of |
|---|---|
| elementId | ID for the element in the DOM |
| width | Width of the widget |
| height | height of the widget |
| options | to pass to papaya widget. Should be a list with
the same number of elements as images passed in. Options can
be generated using |
#>papaya(c(img, img), options = list(papayaOptions(alpha = 0.5), papayaOptions(alpha = 0.5, lut = "Red Overlay")) )#>