Description Usage Arguments Value Author(s) References See Also
movpotential
reconstructs a potential derived from
data along a gradient of a given parameter the
movpotential
calculates the potential for values
that correspond to a particular parameter. see ref below
1 2 3 | movpotential_ews(X, param, sdwindow = NULL, bw = -1,
minparam = NULL, maxparam = NULL, npoints = 50,
thres = 0.002, std = 1, grid.size = 200, cutoff = 0.5)
|
X |
a vector of the X observations of the state variable of interest |
param |
parameter values that correspond to the X observations |
sdwindow |
window for smoothing kernels (over the
|
bw |
bandwidth used for smoothing kernels |
minparam |
minimum value of parameter on which to estimate potential |
maxparam |
maximum value of parameter on which to estimate potential |
npoints |
number of potentials |
thres |
threshold for local minima to be discarded |
std |
std |
grid.size |
number of evaluation points |
cutoff |
the cuttof value to estimate minima and maxima in the potential Returns: |
A list with the following elements:
pars |
values of the covariate parameter as matrix |
xis |
values of the x as matrix |
pots |
smoothed potentials |
mins |
minima in the densities (-potentials; neglecting local optima) |
maxs |
maxima in densities (-potentials; neglecting local optima) |
plot |
an object that displays the potential estimated in 2D |
Based on Matlab code from Egbert van Nes modified by Leo Lahti. Implemented in early warnings package by V. Dakos.
Hirota, M., Holmgren, M., van Nes, E.H. & Scheffer, M. (2011). Global resilience of tropical forest and savanna to critical transitions. Science, 334, 232-235
generic_ews
; ddjnonparam_ews
;
bdstest_ews
;
sensitivity_ews
;surrogates_ews
;
ch_ews
; livpotential_ews
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.