chmWriteCustomJS | R Documentation |
This function outputs the Javascript required to customize an NGCHM.
chmWriteCustomJS(chm, filename)
chm |
An object of class 'chm' representing the heat map. |
filename |
A single character string specifying the name of the file where the JavaScript will be written. |
None. This function is used for its side effects of writing the JavaScript to a file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.