dpload | R Documentation |
Loads either a single .dpa file or a list of .dpa files. If dpa.file is specified, it will load a single file. If dp.directory is specified, it will search for all dpa files in that directory (recursively in all subfolders, can be turned off) and return a list of dp files. It will use pbapply to display progress, if loading a directory.
dpload(dp.file = NULL, dp.directory = "", recursive = TRUE, name = "file")
dp.file |
A path to a single file, including file name. |
dp.directory |
A directory with .dpa files. |
recursive |
Also look for density profiles files in subfolders? |
name |
Either |
NOTE: for now this function only supports loading density profiles created by the Rinntech Resistograph® resistance drilling device (*.dpa). It was tested to work on files produced by R650-RC drill.
A dp
object or a list of dp
objects.
## load a single file dpload(system.file("extdata", "00010001.dpa", package = "densitr")) dp <- dpload(system.file("extdata", "00010001.dpa", package = "densitr")) ## load all files in directory dp.list <- dpload(dp.directory = system.file("extdata", package = "densitr"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.