Generic function for conversion to a fromXYZ object (eg as would have been produced by spatialAtRisk for example.)
generic function returning method as.fromXYZ
as.im.fromXYZ, as.im.fromSPDF, as.im.fromFunction, as.fromXYZ
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.