Usage
calc.sde(id = 1, filename = "SDE_Output.txt", calccentre = FALSE, useWMC = FALSE, centre.xy = centre, destmat = activities, titletxt = "Title", verbose = FALSE, plot = TRUE, calcSDxy = TRUE, plotSDEaxes = TRUE, plotdest = TRUE, plotcentroid = TRUE, plotSDxy = TRUE, weightpoints = FALSE, weights = wts, jpeg = FALSE)
Arguments
id
An identifier for a given SDE. When running calc.sde in a loop for multiple sets of points, increment id such that it is unique!
filename
The name of an ASCII (text) file where SDE coordinates will be written
calccentre
Boolean: Set to TRUE if the mean center of the points is to be used as the SDE centroid
useWMC
Boolean: Set to TRUE if the weighted mean center is to be used as the SDE centroid
centre.xy
A numeric vector of length 2, containing specified x- and y-coordinates to use as the centroid
destmat
A numeric matrix or data frame with two columns. The first column represents x-coordinates, the second, y-coordinates. Each row corresponds to a single point location.
titletxt
A string to use as the title on the plot
verbose
Boolean: Set to TRUE if extensive standard output feedback is desired
plot
Boolean: Set to TRUE if the SDE is to be plotted
calcSDxy
Boolean: Set to TRUE if the standard deviations in the orthogonal (x and y) directions are to be computed
plotSDEaxes
Boolean: Set to TRUE if the orthogonal axes through the centroid are to be plotted
plotdest
Boolean: Set to TRUE if input point observations are to be plotted along with the SDE
plotcentroid
Boolean: Set to TRUE if the centroid is to be plotted along with the SDE
plotSDxy
Boolean: Set to TRUE if the orthogonal standard deviation box should be plotted along with the SDE
weightpoints
Boolean: Set to TRUE if the point observations are to be weighted
weights
A matrix or data frame of weights for the points
jpeg
Boolean: Set to TRUE if the plot should be saved in JPEG format