Results from the Standard Deviation Distance Calculator (calc_sdd) are stored in a list object. This object is required for the plot function (plot_sdd).
The list object contains the following results:
Identifier for the SDD estimation - it should be unique
a simple two-column data frame (or matrix) containing x,y coordinates for a series of point locations.
coordsSDD value, coordinates of the SDD
SDD value, radius of the SDD
Boolean: TRUE if mean centre is computed
Boolean: TRUE if the weighted mean centre is to be used instead
Weights applied to point observations
X-coordinate of the centre
Y-coordinate of the centre
Area of the SDD circle
The coordinates of the points must have the same units and projection as the specified center.
This demonstration data has been manufactured for illustrative purposes only.
Loading required package: splancs Loading required package: sp Spatial Point Pattern Analysis Code in S-Plus Version 2 - Spatial and Space-Time analysis Loading required package: Hmisc Loading required package: lattice Loading required package: survival Loading required package: Formula Loading required package: ggplot2 Attaching package: 'Hmisc' The following object is masked from 'package:splancs': zoom The following objects are masked from 'package:base': format.pval, round.POSIXt, trunc.POSIXt, units Loading required package: shapefiles Loading required package: foreign Attaching package: 'shapefiles' The following objects are masked from 'package:foreign': read.dbf, write.dbf List of 10 $ id : num 1 $ points :'data.frame': 10 obs. of 2 variables: ..$ col1: num [1:10] 617816 611320 606329 620688 612836 ... ..$ col2: num [1:10] 4837974 4827947 4826776 4839942 4828455 ... $ coordsSDD : num [1:360, 1:2] 619059 619058 619054 619048 619039 ... $ SDD : num 8118 $ calccentre: logi TRUE $ weighted : logi FALSE $ weights : NULL $ CENTRE.x : num 610941 $ CENTRE.y : num 4830837 $ SDD.area : num 2.07e+08
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.