blob: c5ed5a7c3105caf4ce708091f7c88262b6adcda1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
R : Copyright 2006, The R Foundation for Statistical Computing
Version 2.3.1 (2006-06-01)
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> require(chemCal)
Loading required package: chemCal
[1] TRUE
> data(din32645)
> m <- lm(y ~ x, data = din32645)
> inverse.predict(m, 3500, alpha = 0.01)
$Prediction
[1] 0.1054792
$`Standard Error`
[1] 0.02215619
$Confidence
[1] 0.07434261
$`Confidence Limits`
[1] 0.03113656 0.17982178
> lod <- lod(m, alpha = 0.01, beta = 0.5)
> lod(m, alpha = 0.01, beta = 0.01)
$x
[1] 0.132904
$y
[1] 3764.977
> loq <- loq(m, alpha = 0.01)
>
|