getdetectionlimit | R Documentation |
The detection limit of those values below-detection-limit are stored as negative values in compositional dataset. This function extracts that information.
getDetectionlimit(x,dl=attr(x,"detectionlimit"))
x |
a data set |
dl |
a default to replace the information in the dataset |
For a proper treatment of truncated data it would be necessary to know the detection limit even for observed data. Unfortunately, there is no clear way to encode this information without annoying the user.
a matrix in the same shape as x, with a positive value (the detection limit) where available, and NA in the other cells.
K.Gerald van den Boogaart
Boogaart, K.G. v.d., R. Tolosana-Delgado, M. Bren (2006) Concepts for handling of zeros and missing values in compositional data, in E. Pirard (ed.) (2006)Proceedings of the IAMG'2006 Annual Conference on "Quantitative Geology from multiple sources", September 2006, Liege, Belgium, S07-01, 4pages, ISBN 978-2-9600644-0-7, http://www.stat.boogaart.de/Publications/iamg06_s07_01.pdf
compositions.missings
,zeroreplace
x <- c(2,-0.5,4,3,-0.5,5,BDLvalue,MARvalue,MNARvalue)
getDetectionlimit(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.