vignettes/performance/mdist.R

load("setup.rda")
library(profr)
library(optmatch)

gc()
# we have to use a smaller interval to actually catch the timings on this fast
# operation.
benchmark.mdist <- profr(result.mdist <- mdist(model, 
 structure.fmla = ~ X3), interval = 0.001)

save(file = "mdist.rda",
     benchmark.mdist,
     result.mdist)

Try the optmatch package in your browser

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

optmatch documentation built on Nov. 16, 2023, 5:06 p.m.