#' @export
regr.tot<-function(dat)
{
regr(dat)*dat$N
}
regr.ppn<-function(dat,cond)
{
dat$y.value<-eval(parse(text=paste("dat$y.value",cond,sep="")))*1
regr(dat)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.