aoristic.summary | R Documentation |
Summarizes the sum of aoristic weights for each hour of the week, based on output from an aoristic data frame (created by aoristic.df). The function returns a data frame, with optional outputs. Option 'xlsx' sends the data frame to an Excel spreadsheet in the current working directory. Filenames increment to prevent overwriting previous analyses. Using option 'jpg' creates a color coded summary table in jpg format in the working directory. The filename is aoristic_distribution.jpg, adding incremental numbers as necessary to the filename.
NOTE: Be aware that the distribution of values is NOT the same as the aoristic.ref() output, because the summary charts and graphs move Sunday to the end of the week to keep the weekend together.
aoristic.summary(data1, output = "")
data1 |
a data frame output from the aoristic.df function |
output |
output ='xlsx' for an Excel format output #' output ='jpg' for JPG grid, blank otherwise |
A data frame with aoristic values summed for each hour of the week
Ratcliffe, J. H. (2002). Aoristic signatures and the spatio-temporal analysis of high volume crime patterns. Journal of Quantitative Criminology, 18(1), 23-43.
## Not run: aor.summary <- aoristic.summary(aor.df) aor.summary <- aoristic.summary(aor.df, 'xlsx') aor.summary <- aoristic.summary(aor.df, 'jpg') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.