substitute.in.clist <-
function (clist, find.string, replace.string, sep = ",")
{
Vec <- ClistToVec(clist, sep = sep)
matches <- Vec == find.string
if (any(matches)) {
Vec[matches] <- replace.string
return(paste(Vec, collapse = sep))
}
else return(clist)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.