aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/massart97ex3.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2018-06-06 02:10:37 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2018-06-06 02:10:37 +0200
commit801e95f1cc7bfcc8480f6f49b9da2331be71d1a9 (patch)
tree8b26c5cf18f54fa0e615378867e8cb49e81396b8 /docs/reference/massart97ex3.html
parentae6f999ecf76fcd93a19985a70e30ed661da72be (diff)
Static documentation rebuilt by pkgdown::build_site()
Diffstat (limited to 'docs/reference/massart97ex3.html')
-rw-r--r--docs/reference/massart97ex3.html30
1 files changed, 24 insertions, 6 deletions
diff --git a/docs/reference/massart97ex3.html b/docs/reference/massart97ex3.html
index d737fc5..434fc7b 100644
--- a/docs/reference/massart97ex3.html
+++ b/docs/reference/massart97ex3.html
@@ -21,16 +21,22 @@
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha384-cV+rhyOuRHc9Ub/91rihWcGmMmCXDeksTtCihMupQHSsi8GIIRDG0ThDc3HGQFJ3" 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>
+
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
-<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
-
-
+
+
+
<meta property="og:title" content="Calibration data from Massart et al. (1997), example 3 — massart97ex3" />
<meta property="og:description" content="Sample dataset from p. 188 to test the package." />
<meta name="twitter:card" content="summary" />
+
+
+
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
@@ -53,8 +59,12 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="navbar-brand" href="../index.html">chemCal</a>
+ <span class="navbar-brand">
+ <a class="navbar-link" href="../index.html">chemCal</a>
+ <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.37.9001</span>
+ </span>
</div>
+
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
@@ -68,6 +78,7 @@
<ul class="nav navbar-nav navbar-right">
</ul>
+
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@@ -75,15 +86,19 @@
</header>
- <div class="row">
+<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Calibration data from Massart et al. (1997), example 3</h1>
+
+ <div class="hidden name"><code>massart97ex3.Rd</code></div>
</div>
+ <div class="ref-description">
<p>Sample dataset from p. 188 to test the package.</p>
+ </div>
<pre class="usage"><span class='fu'>data</span>(<span class='no'>massart97ex3</span>)</pre>
@@ -109,7 +124,7 @@
<span class='no'>w</span> <span class='kw'>&lt;-</span> <span class='fu'>round</span>(<span class='fl'>1</span> / (<span class='no'>s</span>^<span class='fl'>2</span>), <span class='kw'>digits</span> <span class='kw'>=</span> <span class='fl'>3</span>)
<span class='no'>weights</span> <span class='kw'>&lt;-</span> <span class='no'>w</span>[<span class='fu'>factor</span>(<span class='no'>x</span>)]
<span class='no'>m</span> <span class='kw'>&lt;-</span> <span class='fu'>lm</span>(<span class='no'>y</span> ~ <span class='no'>x</span>, <span class='kw'>w</span> <span class='kw'>=</span> <span class='no'>weights</span>)
-<span class='fu'>calplot</span>(<span class='no'>m</span>)</div><div class='output co'>#&gt; <span class='warning'>Warning: Assuming constant prediction variance even though model fit is weighted</span></div><div class='img'><img src='massart97ex3-1.png' alt='' width='700' height='432.632880098887' /></div><div class='input'>
+<span class='fu'>calplot</span>(<span class='no'>m</span>)</div><div class='output co'>#&gt; <span class='warning'>Warning: Assuming constant prediction variance even though model fit is weighted</span></div><div class='img'><img src='massart97ex3-1.png' alt='' width='700' height='433' /></div><div class='input'>
<span class='co'># The following concords with the book p. 200</span>
<span class='fu'>inverse.predict</span>(<span class='no'>m</span>, <span class='fl'>15</span>, <span class='kw'>ws</span> <span class='kw'>=</span> <span class='fl'>1.67</span>) <span class='co'># 5.9 +- 2.5</span></div><div class='output co'>#&gt; $Prediction
#&gt; [1] 5.865367
@@ -194,5 +209,8 @@
</footer>
</div>
+
+
</body>
</html>
+

Contact - Imprint