Description Usage Arguments Details Value Author(s) References See Also Examples
‘update’ allows modification of components of ‘uncert’ or ‘uncertMC’ objects, including the uncertainty estimation method used, and will recalculate the estimate and return a new ‘uncert’ or ‘uncertMC’ object. Individual elements of most components can be amended.
1 2 3 4 |
object |
An object of class ‘uncert’ |
expr |
An expression, formula or function. |
method |
Uncertainty evaluation method. May be any of the methods listed for |
x, u, df |
Named list, vector or array of values to update elements of
object |
c |
Update to |
cov, cor |
A covariance or correlation matrix. Only one of |
distrib |
Named list or character vector of updated distribution names. |
distrib.pars |
Named list of updates for distribution names and parameters. |
delta |
Scalar value updating |
B |
Updated number of Monte Carlo iterations for ‘uncertMC’ objects or specification of
|
keep.x |
Update to |
... |
Other values passed to |
Update will use the values provided to update the object given, call the original function with the revised parameters and return the result as an object of class ‘uncert’ or ‘uncert’ depending on the uncertainty evaluation method used.
Note that updating with a different value of method
may result in an object of
different class. Updating an ‘uncertMC’ object with a method other than "MC"
will return an object of class ‘uncert’; similarly, updating an ‘uncert’ object
using method="MC"
will return an object of class ‘uncertMC’.
Updates to vector or list elements of uncert
such as x
, u
, df
etc. can be specified as named lists, named vectors or arrays, with names corresponding to
names of the input quantities in the uncertainty budget (that is, the names may correspond
to one or more of row.names(uncert$budget)
). If names are present, only the
corresponding individual members are updated.
If names are not present, the complete vector or list in uncert
is replaced, and names added.
Matrix elements cor
and cov
must be specified completely; see
buildCor
, updateCor
and associated functions for
covariance matrices for compact update methods.
An object of class ‘uncert’ or, for method="MC"
of class ‘uncertMC’.
See uncert-class
and uncertMC-class
for details.
S. L. R. Ellison s.ellison@lgc.co.uk
None, yet.
uncert-class
, uncert-class
, uncertMC
, uncertMC-class
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.