blob: 7c9e55da85eda5d89368e64f98f7cb881adc8187 (
plain) (
tree)
|
|
R version 3.1.0 (2014-04-10) -- "Spring Dance"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
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
> 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.132909
$y
1
3765.025
> loq <- loq(m, alpha = 0.01)
>
> proc.time()
user system elapsed
0.472 0.302 0.354
|