From cfcd58348dc8cbf7010231bfe902867bb30a8b3f Mon Sep 17 00:00:00 2001 From: Anil Tellbuescher Date: Sat, 11 Jan 2025 13:56:17 +0100 Subject: replace din32645 data by data from din38402b1 --- R/linearity.R | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'R/linearity.R') 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 -- cgit v1.2.1