Description Usage Arguments Examples
Using an object from the cRacle::densform() or cRacle::and_fun() or cRacle::or_fun() functions, add a PDF over the existing plot. Useful for visualizing joint likelihood curves.
1 2 3 4 5 6 7 |
dens.ob |
An object derived from the cRacle::densform() or cRacle::and_fun() or cRacle::or_fun() functions. |
var |
A character string that matches one of the layer names in the source raster object. |
col |
A color declaration. Default is a random color. |
type |
A character string of value either ".kde" for a Kernel Density Estimator curve, or ".gauss" for a Gaussian (normal) curve. All other values will result in errors. |
w |
TRUE or FALSE to show weighted probability functions |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
#distr <- read.table('test_mat.txt', head=T, sep ="\t");
#OR:
data(distr); data(climondbioclim);
#extr.raw = extraction(data=distr, clim= climondbioclim, schema='raw');
#dens.list.raw <- dens_obj(extr.raw, clim = climondbioclim, bw = 'nrd0', n = 1024);
#multiplot(dens.list.raw, names(climondbioclim[[1]]));
#or <- or_fun(dens.list.raw);
#addplot(or, names(climondbioclim[[1]]), col ='black');
#and <- and_fun(dens.list.raw);
#addplot(and, names(climondbioclim[[1]]), col ='black');
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.