aboutsummaryrefslogtreecommitdiff
path: root/man/calplot.lm.Rd
diff options
context:
space:
mode:
authorranke <ranke@5fad18fb-23f0-0310-ab10-e59a3bee62b4>2006-05-23 07:33:22 +0000
committerranke <ranke@5fad18fb-23f0-0310-ab10-e59a3bee62b4>2006-05-23 07:33:22 +0000
commitf381f9a6a8a47b89ec25cd627833a7248da7932b (patch)
tree3155c1f5b2f5810a453aa8cb8a8f44f5920b01e8 /man/calplot.lm.Rd
parente12be874ff477509b737ad09bf05144a7fbedac2 (diff)
Don't do calplot and lod for linear models from weighted
regression any more, since this is not supported (PR#8877). git-svn-id: http://kriemhild.uft.uni-bremen.de/svn/chemCal@13 5fad18fb-23f0-0310-ab10-e59a3bee62b4
Diffstat (limited to 'man/calplot.lm.Rd')
-rw-r--r--man/calplot.lm.Rd4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/calplot.lm.Rd b/man/calplot.lm.Rd
index 6d3f52d..734933d 100644
--- a/man/calplot.lm.Rd
+++ b/man/calplot.lm.Rd
@@ -39,13 +39,15 @@
}
\examples{
# Example of a Calibration plot for a weighted regression
+source("/home/ranke/tmp/r-base-2.3.0/src/library/stats/R/lm.R")
data(massart97ex3)
attach(massart97ex3)
yx <- split(y,factor(x))
s <- round(sapply(yx,sd),digits=2)
w <- round(1/(s^2),digits=3)
weights <- w[factor(x)]
-m <- lm(y ~ x,w=weights)
+m <- lm(y ~ x,w=10 * weights)
+calplot(m)
calplot(m)
}
\author{

Contact - Imprint