#' fnRIV
#'
#' @export
fnRIV<-function(xvar,grpvar,noGrp,meanGrp){
meanAll<-mean(xvar,na.rm=T)
SST<-sum((xvar-meanAll)^2,na.rm=T)
SSG<-sum((meanGrp-meanAll)^2,na.rm=T)
return(SSG/SST)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.