From 6d118690c0cae02fc5cd4b28c1a67eecde4d9f60 Mon Sep 17 00:00:00 2001 From: ranke Date: Thu, 11 May 2006 15:53:07 +0000 Subject: - The vignette is in a publisheable state - In addition to the Massart examples, the sample data from dintest (DIN 32645) has been tested - inverse.predict and calplot now also work on glm objects git-svn-id: http://kriemhild.uft.uni-bremen.de/svn/chemCal@7 5fad18fb-23f0-0310-ab10-e59a3bee62b4 --- man/calplot.lm.Rd | 5 +++-- man/chemCal-package.Rd | 17 +++++++++++++++++ man/din32645.Rd | 16 ++++++++++++++-- man/draper.Rd | 9 --------- man/inverse.predict.Rd | 6 ++++-- 5 files changed, 38 insertions(+), 15 deletions(-) create mode 100644 man/chemCal-package.Rd delete mode 100644 man/draper.Rd (limited to 'man') diff --git a/man/calplot.lm.Rd b/man/calplot.lm.Rd index c2b8116..efdea3d 100644 --- a/man/calplot.lm.Rd +++ b/man/calplot.lm.Rd @@ -13,8 +13,9 @@ } \arguments{ \item{object}{ - A univariate model object of class \code{\link{lm}} with model formula - \code{y ~ x} or \code{y ~ x - 1}. + A univariate model object of class \code{\link{lm}} or + \code{\link[MASS:rlm]{rlm}} + with model formula \code{y ~ x} or \code{y ~ x - 1}. } \item{xlim}{ The limits of the plot on the x axis. diff --git a/man/chemCal-package.Rd b/man/chemCal-package.Rd new file mode 100644 index 0000000..a11744e --- /dev/null +++ b/man/chemCal-package.Rd @@ -0,0 +1,17 @@ +\name{chemCal-package} +\alias{chemCal-package} +\docType{package} +\title{ +Calibration functions for analytical chemistry +} +\description{ +See \url{../DESCRIPTION} +} +\details{ +There is a package vignette located in \url{../doc/chemCal.pdf}. +} +\author{ +Author and Maintainer: Johannes Ranke +} +\keyword{manip} +} diff --git a/man/din32645.Rd b/man/din32645.Rd index 0a2a790..1a3c046 100644 --- a/man/din32645.Rd +++ b/man/din32645.Rd @@ -9,7 +9,19 @@ \format{ A dataframe containing 10 rows of x and y values. } -\source{ - \url{http://www.uft.uni-bremen.de/chemie} +\examples{ +data(din32645) +m <- lm(y ~ x, data=din32645) +calplot(m) +prediction <- inverse.predict(m,3500,alpha=0.01) +# This should give 0.074 according to DIN (cited from the Dintest test data) +round(prediction$Confidence,3) +} +\references{ + DIN 32645 (equivalent to ISO 11843) + + Dintest. Plugin for MS Excel for evaluations of calibration data. Written + by Georg Schmitt, University of Heidelberg. + \url{http://www.rzuser.uni-heidelberg.de/~df6/download/dintest.htm} } \keyword{datasets} diff --git a/man/draper.Rd b/man/draper.Rd deleted file mode 100644 index 6a8de00..0000000 --- a/man/draper.Rd +++ /dev/null @@ -1,9 +0,0 @@ -\name{draper} -\alias{draper} -\title{Regression example with repeated measurements} -\usage{data(draper)} -\references{Draper and Smith, Applied Regression Analysis (1981), p. 38} -\format{A dataframe with 24 observations on 2 variables} -\description{An example of a regression with multiple measurements per -factor level.} -\keyword{datasets} diff --git a/man/inverse.predict.Rd b/man/inverse.predict.Rd index 48534c4..d773e58 100644 --- a/man/inverse.predict.Rd +++ b/man/inverse.predict.Rd @@ -1,6 +1,7 @@ \name{inverse.predict} \alias{inverse.predict} \alias{inverse.predict.lm} +\alias{inverse.predict.rlm} \alias{inverse.predict.default} \title{Predict x from y for a linear calibration} \usage{inverse.predict(object, newdata, @@ -9,8 +10,9 @@ } \arguments{ \item{object}{ - A univariate model object of class \code{\link{lm}} with model formula - \code{y ~ x} or \code{y ~ x - 1}. + A univariate model object of class \code{\link{lm}} or + \code{\link[MASS:rlm]{rlm}} + with model formula \code{y ~ x} or \code{y ~ x - 1}. } \item{newdata}{ A vector of observed y values for one sample. -- cgit v1.2.1