3d Kernel density estimation for data classified in polygons or shapes
1 2 3 4 5 6 7 8 9 10 11 12 | dshape3dProp(
data,
burnin = 2,
samples = 5,
shapefile,
gridsize = 200,
boundary = FALSE,
deleteShapes = NULL,
fastWeights = TRUE,
numChains = 1,
numThreads = 1
)
|
data |
data.frame with 5 columns: x-coordinate, y-coordinate (i.e. center of polygon) and number of observations in area for partial population and number of observations for complete observations and third variable (numeric). |
burnin |
burn-in sample size |
samples |
sampling iteration size |
shapefile |
shapefile with number of polygons equal to nrow(data) / length(unique(data[,5])) |
gridsize |
number of evaluation grid points |
boundary |
boundary corrected kernel density estimate? |
deleteShapes |
shapefile containing areas without observations |
fastWeights |
if TRUE weigths for boundary estimation are only computed for first 10 percent of samples to speed up computation |
numChains |
number of chains of SEM algorithm |
numThreads |
number of threads to be used (only applicable if more than one chains) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.