R/percent.R

Defines functions percent

Documented in percent

percent<-
function(x)
{
round(100*x/sum(x),2)
}

Try the RcmdrPlugin.SM package in your browser

Any scripts or data that you put into this service are public.

RcmdrPlugin.SM documentation built on May 30, 2017, 5:22 a.m.