# NOT RUN {
## The function is currently defined as
##function (X, dim)
##{
## .Call("imp4p_fast_apply_sum_na_rm_T", PACKAGE = "imp4p",
## X, dim)
## }
##
## You can compare the execution time with a traditional apply function by
## library(rbenchmark)
## res.sim=sim.data(nb.pept=2000,nb.miss=600);
## benchmark(fast_apply_sum_na_rm_T(res.sim$dat.obs, 1),
## apply(res.sim$dat.obs,1,sum,na.rm=TRUE))
# }
Run the code above in your browser using DataLab