relative <-function(layerList = list(), row.num = 1,
col.nom = 1, row.denom = 3, col.denom = 3) {
sapply(layerList, function(z) z[row.num, col.nom] / z[row.denom, col.denom])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.