Description Usage Arguments Examples
Given a table including localities and climate data,and a value of alpha this function will return the same table with statistical outliers removed according to the alpha-confidence interval of the multivariate likelihoods.
1 2 | filter_dist(ext_ob, dens_ob, clim, min = 0, alpha = 0.01, type = ".kde",
w = FALSE)
|
ext_ob |
A data.frame of climate values (i.e., extracted from the climate raster object). Will be passed to multiv_likelihood(). |
dens_ob |
A density object from vegdistmod::densform(), vegdistmod::and_fun(), or vegdistmod::or_fun(); |
clim |
A raster object of climate data (matching x) |
min |
The minimum likelihood to be kept. Will override the value of alpha given. Optional. |
alpha |
The value of alpha you would like to use for confidence interval construction. Default to 0.01 for a 99 percen confidence interval. |
type |
Designate either ".gauss" or ".kde". |
w |
To weight log-likelihoods by coefficient of variation or not. |
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data(abies);
ext.abies = extraction(abies, climondbioclim, schema='raw');
dens.abies = densform(ext.abies, climondbioclim);
f <-
filter_dist(ext.abies, dens.abies,
climondbioclim, alpha = 0.01, type = '.kde')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.