aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/loq.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/loq.html')
-rw-r--r--docs/reference/loq.html85
1 files changed, 44 insertions, 41 deletions
diff --git a/docs/reference/loq.html b/docs/reference/loq.html
index c159638..2c7dc6a 100644
--- a/docs/reference/loq.html
+++ b/docs/reference/loq.html
@@ -8,21 +8,29 @@
<title>Estimate a limit of quantification (LOQ) — loq • chemCal</title>
+
<!-- jquery -->
-<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
-<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha256-bZLfwXAP04zRMK2BjiO8iu9pf4FbLqX6zitd+tIvLhE=" crossorigin="anonymous" />
+
+<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha256-nuL8/2cJ5NDSSwnKD8VqreErSWHtnEP9E7AySL+1ev4=" crossorigin="anonymous"></script>
+
+<!-- bootstrap-toc -->
+<link rel="stylesheet" href="../bootstrap-toc.css">
+<script src="../bootstrap-toc.js"></script>
<!-- Font Awesome icons -->
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous" />
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous" />
<!-- clipboard.js -->
-<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script>
-<!-- sticky kit -->
-<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
+<!-- headroom.js -->
+<script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
@@ -30,8 +38,8 @@
-<meta property="og:title" content="Estimate a limit of quantification (LOQ) — loq" />
+<meta property="og:title" content="Estimate a limit of quantification (LOQ) — loq" />
<meta property="og:description" content="The limit of quantification is the x value, where the relative error
of the quantification given the calibration model reaches a prespecified
value 1/k. Thus, it is the solution of the equation
@@ -39,7 +47,7 @@
where c(L) is half of the length of the confidence interval at the limit L
(DIN 32645, equivalent to ISO 11843). c(L) is internally estimated by
inverse.predict, and L is obtained by iteration." />
-<meta name="twitter:card" content="summary" />
+
@@ -53,9 +61,10 @@
<![endif]-->
+
</head>
- <body>
+ <body data-spy="scroll" data-target="#toc">
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
@@ -77,7 +86,7 @@
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
- <span class="fa fa-home fa-lg"></span>
+ <span class="fas fa fas fa-home fa-lg"></span>
</a>
</li>
@@ -91,9 +100,13 @@
<a href="../news/index.html">Changelog</a>
</li>
</ul>
-
<ul class="nav navbar-nav navbar-right">
-
+ <li>
+ <a href="http://github.com/jranke/chemCal/">
+ <span class="fab fa fab fa-github fa-lg"></span>
+
+ </a>
+</li>
</ul>
</div><!--/.nav-collapse -->
@@ -101,6 +114,7 @@
</div><!--/.navbar -->
+
</header>
<div class="row">
@@ -112,7 +126,6 @@
</div>
<div class="ref-description">
-
<p>The limit of quantification is the x value, where the relative error
of the quantification given the calibration model reaches a prespecified
value 1/k. Thus, it is the solution of the equation
@@ -120,19 +133,18 @@
where c(L) is half of the length of the confidence interval at the limit L
(DIN 32645, equivalent to ISO 11843). c(L) is internally estimated by
<code><a href='inverse.predict.html'>inverse.predict</a></code>, and L is obtained by iteration.</p>
-
</div>
- <pre class="usage">loq(object, &#8230;, alpha = 0.05, k = 3, n = 1, w.loq = "auto",
- var.loq = "auto", tol = "default")</pre>
-
+ <pre class="usage"><span class='fu'>loq</span>(<span class='no'>object</span>, <span class='no'>...</span>, <span class='kw'>alpha</span> <span class='kw'>=</span> <span class='fl'>0.05</span>, <span class='kw'>k</span> <span class='kw'>=</span> <span class='fl'>3</span>, <span class='kw'>n</span> <span class='kw'>=</span> <span class='fl'>1</span>, <span class='kw'>w.loq</span> <span class='kw'>=</span> <span class='st'>"auto"</span>,
+ <span class='kw'>var.loq</span> <span class='kw'>=</span> <span class='st'>"auto"</span>, <span class='kw'>tol</span> <span class='kw'>=</span> <span class='st'>"default"</span>)</pre>
+
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
<th>object</th>
- <td><p>A univariate model object of class <code><a href='https://www.rdocumentation.org/packages/stats/topics/lm'>lm</a></code> or
- <code><a href='https://www.rdocumentation.org/packages/MASS/topics/rlm'>rlm</a></code>
+ <td><p>A univariate model object of class <code><a href='https://rdrr.io/r/stats/lm.html'>lm</a></code> or
+ <code><a href='https://rdrr.io/pkg/MASS/man/rlm.html'>rlm</a></code>
with model formula <code>y ~ x</code> or <code>y ~ x - 1</code>,
optionally from a weighted regression. If weights are specified
in the model, either <code>w.loq</code> or <code>var.loq</code> have to
@@ -143,7 +155,7 @@
<td><p>The error tolerance for the prediction of x values in the calculation.</p></td>
</tr>
<tr>
- <th>&#8230;</th>
+ <th>...</th>
<td><p>Placeholder for further arguments that might be needed by
future implementations.</p></td>
</tr>
@@ -177,25 +189,22 @@
numeric value to override this.</p></td>
</tr>
</table>
-
+
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
<p>The estimated limit of quantification for a model used for calibration.</p>
-
<h2 class="hasAnchor" id="note"><a class="anchor" href="#note"></a>Note</h2>
<p>- IUPAC recommends to base the LOQ on the standard deviation of the signal
where x = 0.
- The calculation of a LOQ based on weighted regression is non-standard
and therefore not tested. Feedback is welcome.</p>
-
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>
<div class='dont-index'><p>Examples for <code><a href='din32645.html'>din32645</a></code></p></div>
-
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
- <pre class="examples"><div class='input'><span class='no'>m</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/stats/topics/lm'>lm</a></span>(<span class='no'>y</span> ~ <span class='no'>x</span>, <span class='kw'>data</span> <span class='kw'>=</span> <span class='no'>massart97ex1</span>)
+ <pre class="examples"><div class='input'><span class='no'>m</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/lm.html'>lm</a></span>(<span class='no'>y</span> ~ <span class='no'>x</span>, <span class='kw'>data</span> <span class='kw'>=</span> <span class='no'>massart97ex1</span>)
<span class='fu'>loq</span>(<span class='no'>m</span>)</div><div class='output co'>#&gt; $x
#&gt; [1] 13.97764
#&gt;
@@ -210,36 +219,30 @@
#&gt; [1] 22.68539
#&gt; </div></pre>
</div>
- <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
- <h2>Contents</h2>
- <ul class="nav nav-pills nav-stacked">
- <li><a href="#arguments">Arguments</a></li>
-
- <li><a href="#value">Value</a></li>
-
- <li><a href="#note">Note</a></li>
-
- <li><a href="#see-also">See also</a></li>
-
- <li><a href="#examples">Examples</a></li>
- </ul>
-
+ <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
+ <nav id="toc" data-toggle="toc" class="sticky-top">
+ <h2 data-toc-skip>Contents</h2>
+ </nav>
</div>
</div>
+
<footer>
<div class="copyright">
<p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown">
- <p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.5.1.</p>
</div>
+
</footer>
</div>
+
</body>
</html>
+

Contact - Imprint