dptriml_s | R Documentation |
Calls dptrim
on a list of dp objects and returns a list of
trimmed objects. If automatic detection fails, the dp objects are
not trimmed. Can be run in parallel on multiple cores, this speeds
up the trimming process significantly. Only trims the starting
side, see dptriml
for trimming both side simultaneously.
dptriml_s(dp.list, rreport = FALSE, cl = 1, ...)
dp.list |
A list of dp objects, see |
rreport |
Return an embedded report on automatic trim success,
mandatory when using |
cl |
Number of cores to run the trimming in parallel, passed
through to |
... |
Parameters minseglen, span and nroll, will get passed through to dpdetect_s, adjust when profile resolution is not 1/100 of a millimeter. |
A list of trimmed dp objects. When rreport = TRUE, it return a two-item list of (i) trimmed dp objects and (ii) trimming report data frame.
dptrim, dptrim_s, dptriml_s,
## load several dp files dp.list <- dpload(dp.directory = system.file("extdata", package = "densitr")) ## trim the measurements dp.trimmed <- dptriml_s(dp.list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.