concentration <- function(dat,absorbance="absorb",concentration="C0"){
library(data.table)
# keys must be set
k=key(dat)
dat[,conc:=(get(absorbance)/max(get(absorbance)))*get(concentration),by=k]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.