aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnil Tellbuescher <anil@tellbuescher.online>2025-01-11 13:56:17 +0100
committerAnil Tellbuescher <anil@tellbuescher.online>2025-01-11 13:56:17 +0100
commitcfcd58348dc8cbf7010231bfe902867bb30a8b3f (patch)
treef1bfd7fd842468c82b93e09d72081eaea1443eca
parent0e44aa36a796c7f2952000f2df7d02bb249f4e9c (diff)
replace din32645 data by data from din38402b1
-rw-r--r--R/linearity.R10
1 files changed, 6 insertions, 4 deletions
diff --git a/R/linearity.R b/R/linearity.R
index 8970fe7..8a4f09b 100644
--- a/R/linearity.R
+++ b/R/linearity.R
@@ -26,19 +26,21 @@
#' ratio. The default tolerance is 10%.
#' @return returns a diagnostic plot
#'
-#' @author Anil Axel Tellbüscher
+#' @author Anıl Axel Tellbüscher
#'
#' @importFrom graphics abline
#' @importFrom graphics lines
#' @importFrom stats median
#'
#' @examples
-#' data(din32645)
+#' # Continuous Flow Analysis (CFA) data
+#' data(din38402b1)
+#'
#' # Point-to-point slope plot
-#' linearity(din32645$x, din32645$y, method = "slope")
+#' linearity(din38402b1$conc, din38402b1$ext, method = "slope")
#'
#' # Curvature plot
-#' linearity(din32645$x, din32645$y, method = "curvature", tolerance = 0.2)
+#' linearity(din38402b1$conc, din38402b1$ext, method = "curvature")
#'
#' @references ISO 8466-1:2021. Water quality — Calibration and evaluation of
#' analytical methods — Part 1: Linear calibration function

Contact - Imprint