Package: densitr 0.2

densitr: Analysing Density Profiles from Resistance Drilling of Trees

Provides various tools for analysing density profiles obtained by resistance drilling. It can load individual or multiple files and trim the starting and ending part of each density profile. Tools are also provided to trim profiles manually, to remove the trend from measurements using several methods, to plot the profiles and to detect tree rings automatically. Written with a focus on forestry use of resistance drilling in standing trees.

Authors:Luka Krajnc [aut, cre], Stasia Grinberg [ctb]

densitr_0.2.tar.gz
densitr_0.2.zip(r-4.5)densitr_0.2.zip(r-4.4)densitr_0.2.zip(r-4.3)
densitr_0.2.tgz(r-4.4-any)densitr_0.2.tgz(r-4.3-any)
densitr_0.2.tar.gz(r-4.5-noble)densitr_0.2.tar.gz(r-4.4-noble)
densitr_0.2.tgz(r-4.4-emscripten)densitr_0.2.tgz(r-4.3-emscripten)
densitr.pdf |densitr.html
densitr/json (API)
NEWS

# Install 'densitr' in R:
install.packages('densitr', repos = c('https://krajnc.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/krajnc/densitr/issues

On CRAN:

3.90 score 2 stars 9 scripts 201 downloads 22 exports 3 dependencies

Last updated 3 years agofrom:2614b02621. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 16 2024
R-4.5-winOKNov 16 2024
R-4.5-linuxOKNov 16 2024
R-4.4-winOKNov 16 2024
R-4.4-macOKNov 16 2024
R-4.3-winOKNov 16 2024
R-4.3-macOKNov 16 2024

Exports:combine_datacombine_footerscorrect_failuresdpdetect_edpdetect_sdpdetrenddploaddpringsdptrimdptrim_sdptrimldptriml_sget_RWmanual_trim_detectplot_allplot_end_detectionplot_failuresplot_start_detectionplot_trimmingremove_trim_failuresseparate_trim_failurestrim_manually

Dependencies:changepointlatticezoo

Detrending of density profiles

Rendered fromDetrending_and_ring_widths.Rmdusingknitr::rmarkdownon Nov 16 2024.

Last update: 2020-04-06
Started: 2020-03-30

Loading and automatic trimming of density profiles

Rendered fromLoading_trimming_profiles.Rmdusingknitr::rmarkdownon Nov 16 2024.

Last update: 2020-04-06
Started: 2020-03-27

Manual trimming of density profiles

Rendered fromManual_trimming.Rmdusingknitr::rmarkdownon Nov 16 2024.

Last update: 2022-03-21
Started: 2020-03-28

Tree ring detection and ring width measurement from density profiles

Rendered fromTree_rings.Rmdusingknitr::rmarkdownon Nov 16 2024.

Last update: 2020-04-06
Started: 2020-04-02

Readme and manuals

Help Manual

Help pageTopics
Combines density measurement from a dp object list into a single data framecombine_data
Combines footer data from a dp object list into a single data framecombine_footers
Manually correct failures after automatic trim detectioncorrect_failures
Detect measurement ending point automatically using changepoint segmentationdpdetect_e
Detect measurement starting point automatically using changepoint segmentationdpdetect_s
Detrend (remove a trend) a density profile either using linear or GAM regressiondpdetrend
Load a single density profile measurement file (*.dpa) or a directory of *.dpa files.dpload
Automatically identify tree rings in a density profiledprings
Automatically trim an individual density profile on both sidesdptrim
Automatically trim an individual density profile on the starting sidedptrim_s
Automatically trim a list of density profiles on both sidesdptriml
Automatically trim a list of density profiles on the starting sidedptriml_s
Extract a file name from a full pathextract_dpa_name
Get ring widths from identified tree ringsget_RW
Manually select a starting or ending location of a density profilemanual_trim_detect
Plot a list of dp objects, one by oneplot_all
Display end detection on a list of dp objectsplot_end_detection
Plot trimming failures one by oneplot_failures
Display start detection on a list of dp objectsplot_start_detection
Display automatic trimming on a list of dp objectsplot_trimming
Read a single resistance-drilling density profile measurement file (*.dpa)read_dpa
Remove automatic trim failures from a list of trimmed dp objects and return only non-failed trimmed objectsremove_trim_failures
Remove automatic trim failures from a list of trimmed dp objects and return ONLY failuresseparate_trim_failures
Manually trim a list of density profilestrim_manually