| vol_example_payload | R Documentation |
Gives the path of the browser payload the package ships for the case study, already written at the native grid of a twenty-fourth of a degree, 1016 by 380 by 21.
vol_example_payload()
The case study at its native resolution
This is the case study put through vol_payload() at the native
grid of the study, three times finer in each horizontal direction than
med_mhw, with the display settings of the figures of the study (a colour
scale from 15 to 60 degree Celsius days on the matter table). The payload
is 1.5 MB, since its values travel in 8 bits and its images compress.
Use it whenever the picture at full resolution is what matters. Build a payload from med_mhw instead when the display settings, the transfer or the depth grid need to be something other than these.
A path to a payload directory, suitable for vol_standalone() and
vol_widget().
med_mhw for the field at an eighth of a degree, vol_standalone()
for the single-file build, vol_widget() to render it in shiny or R
Markdown, vol_payload() to write a payload of your own.
dir <- vol_example_payload()
list.files(dir)
out <- vol_standalone(dir, path = file.path(tempdir(), "med.html"))
if (interactive()) utils::browseURL(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.