drop1 calculates revised combined uncertainty for single variable deletions from
an object of class 'uncert'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
## S3 method for class 'uncert' drop1(object, scope, simplify = TRUE, which=c("% Change", "var", "u", "var.change", "u.change"), ...) ## S3 method for class 'uncertMC' drop1(object, scope, simplify = TRUE, which=c("% Change", "var", "u", "var.change", "u.change"), ...) #Print and plot methods ## S3 method for class 'drop1.uncert' print(x, ..., digits=2) ## S3 method for class 'drop1.uncert' plot(x, ..., which=c("% Change", "var", "u", "var.change", "u.change"))
An object of class ‘uncert’ or ‘uncertMC’.
character vector, expression or formula containing the list of variables to be dropped. If missing, all variables in object$budget are taken as scope.
logical; controls the form of information returned when
An object of class ‘drop1.uncert’ returned by
Further objects passed to other functions.
number of digits used to format the output. See the
By analogy with
drop1.uncert perfoms single variable deletions from
the uncertainty budget in
object, calculates the resulting uncertainty and returns the
results in the form requested by
‘Single variable deletion’ of a variable x[i] is equivalent to setting the uncertainty
u(x[i]) to zero. Note that this also sets covariance terms involving x[i]
drop1.uncert does not support the deletion of single terms such as cov(i, j).
In the case of ‘uncertMC’ objects,
drop1 currently requires
object$MC$x to be
uncertMC called with
method does not support correlation.
which="% Change" the
change on dropping a variable is negative if the uncertainty reduces on removing the variable.
The print method simply prints the output with a header formed from the
and with '%' appended to the "% Change" column.
The plot method produces a barplot of the chosen data column. A plot for each value in
is produced. Arguments in ‘...’ are passed to barplot. If not already present in ‘...’
a default main title and ylab are used. The
expr attribute is shown as marginal text if not NA.
simplify=FALSE, an object of class ‘drop1.uncert’, consisting of a
data frame with row names corresponding to
corresponding to all possible values of
which in the order
"var", "u", "var.change",
"u.change", "% Change", and an attribute
expr containing a copy of the
value of the 'uncert' object to which
drop1.uncert is applied.
simplify=TRUE, the column of the above data frame corresponding to
is returned as a vector with names
S. L. R. Ellison, email@example.com
1 2 3 4 5 6 7 8 9 10 11 12 13