deshrink {analogue}  R Documentation 
In Weighted Averaging models averages are taken twice and thus WA
estimates shrink towards the training set mean and need to be
deshrunk.deshrink
performs this deshrinking using several
techniques, whilst deshrinkPred
will deshrink WA estimates for
new samples given a set of deshrinking coefficients.
deshrink(env, wa.env, type = c("inverse", "classical", "expanded", "none", "monotonic")) deshrinkPred(x, coef, type = c("inverse", "classical", "expanded", "none", "monotonic"))
env 
numeric; original environmental values. 
wa.env 
numeric; initial weighted average estimates. 
type 
character; the type of deshrinking. One of

x 
numeric; estimates to be deshrunk. 
coef 
numeric; deshrinking coefficients to use. Currently needs to be a vector of length 2. These should be supplied in the order beta[0], beta[1]. 
For deshrinkPred
a numeric vector of deshrunk estimates.
For an object of class "deshrink"
, inheriting from class
"list"
, with two components. The type of deshrinking performed
is stroed within attribute "type"
. The componets of the
returned object are:
coefficients 
The deshrinking coefficients used. 
env 
The deshrunk WA estimates. 
deshrinkPred
, does not currently check that
the correct coefficients have been supplied in the correct order.
Gavin L. Simpson \& Jari Oksanen
Birks, H.J.B. (1995) Quantitative environmental reconstructions. In Statistical modelling of Quaternary science data (eds.~D.Maddy \& J.S. Brew). Quaternary Research Association technical guide 5. Quaternary Research Association, Cambridge.