extract_lst <- function(x, i) {
x[which(names(x) %in% i)]
}
assign_lst <- function(x, value, pos = names(value)) {
stopifnot(length(value) == length(pos))
for (i in seq_along(pos)) {
x[which(names(x) %in% pos[i])] <- value[[i]]
}
x
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.