View source: R/profitBenchmark.R
profitBenchmarkResultStripPointers | R Documentation |
This function will take a data.frame with external pointers (like a result from profitBenchmark
) and convert the pointers to strings so that the can be printed without errors.
profitBenchmarkResultStripPointers(dataframe, colnames=as.vector(
outer(c("env","convolver"),c("single","double"),paste,sep="_")))
dataframe |
A data.frame with external pointers, such as a benchmarking result returned from |
colnames |
Character or nunmeric vector of the names or indices of columns to convert. |
The same data.frame given in dataframe with external pointers converted to strings.
Dan Taranu
profitBenchmark
, profitGetOpenCLEnvs
## Not run:
openclenvs = profitGetOpenCLEnvs(make.envs=TRUE)
print(profitBenchmarkResultStripPointers(openclenvs))
img = profitMakeGaussianPSF()
bench=profitBenchmark(img, psf=img, nbench=1L, methods=profitAvailableConvolvers())
print(profitBenchmarkResultStripPointers(bench$result)[
c("name","env_name","version","dev_name",paste0("tinms.mean_",c("single","double")))])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.