R/MetricI.R

Defines functions MetricI

# Rearranges the arguments of the *.stat functions
#    Used in conjunction with optimize
MetricI <- function(i,fun=ksStat,...)
{
   return(fun(i=round(i),...))
}

Try the twang package in your browser

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

twang documentation built on Oct. 25, 2021, 5:08 p.m.