Description Usage Arguments Details Value Note
Simple linear regression on distance-based diversity indices
Find points on a grid within a 100p
% highest posterior
density region for the tuning parameter, a
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | dbDiversityProfile(slist, sdist1, sdist2, aGrid, ...)
dbDiversityRegression(slist, sdist1, sdist2, resp, diversities, aGrid, ...)
## S3 method for class 'dbDiversityRegression'
logLik(object, ...)
posterior(object, ...)
## S3 method for class 'dbDiversityRegression'
mean(x, ...)
## S3 method for class 'dbDiversityRegression'
coef(object, ...)
aHpd(object, level = 0.95)
|
slist |
A |
sdist1 |
An object that is coercible to |
sdist2 |
A second object that is coercible to |
resp |
A response variable |
diversities |
[optional] Output of |
aGrid |
Optional grid of weighting parameters (see
|
... |
Passed to |
object |
A |
x |
|
level |
Size of the highest posterior density region. |
The 100p
% highest posterior density region for 'a' is
the subset of the interval between 0 and 1, which contains
100p
% of the probability.
TODO
TODO
A data frame with two columns: the values of the grid within the hpd region and the value of the posterior at each point in this grid.
There are two ways to provide diversity inputs: (1)
slist
, sdist1
, and sdist2
, or (2)
diversities
. If the former,
dbDiversityProfile
is called to compute
diversities
from slist
, sdist1
, and
sdist2
. Also note that the coercion of sdist1
and
sdist2
forces normalization of the distances (see
norm
argument of longDist
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.