Learn R Programming

"stppSim"

Spatial and Temporal Point Patterns Simulation for Social and Life Science Research

Description

Generates artificial spatiotemporal (ST) point patterns through the integration of microsimulation and agent-based models. Allows a user to define the behaviours of a set of 'walkers' (agents, objects, persons, etc.) whose interactions with the spatial (landscape) and the temporal domains produce new point events. The resulting ST patterns from the point cloud can be measured and utilized for spatial and/or temporal model testings and evaluations. Application: With increasingly limited availability of fine-grained spatially and temporally stamped point data, the package provides an alternative source of data for a wide range of fields in social and life sciences.

Installation from CRAN

From an R console, type:

#install.packages("stppSim")
library(stppSim)

To install the developmental version of the package, type: remotes::install_github("MAnalytics/stppSim"). (Note: remotes is an extra package that needed to be installed prior to the running of this code).

Please, report any installation problems in the issues.

Copy Link

Version

Install

install.packages('stppSim')

Monthly Downloads

294

Version

1.3.4

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Monsuru Adepeju

Last Published

July 24th, 2024

Functions in stppSim (1.3.4)

xyz

xyz data
psim_real

Stpp from real (sample) origins
camden_crimes

Records of crimes of Camden Borough of London, UK, 2021 (Source: https://data.police.uk/data/)
gtp

Global temporal pattern (GTP)
compare_areas

Compare two areas
NRepeat

Near Repeat calculator using the Knox test
chull_poly

Boundary surrounding a set of points
make_grids

Make square grids
extract_coords

Coordinates extraction
date_checker

Date (Format) Checker
stm

Spatial and temporal model
artif_spo

Artificial spatial origins
stp_learner

Learning the spatiotemporal properties of a sample data
psim_artif

Stpp from synthetic origins
snap_points_to_lines

Snapping point to network
space_restriction

Space restriction raster map
p_prob

Proportional (probability) distribution
walker

A landscape walker
xyt_data

Spatiotemporal point data
poly_tester

Geometry and Coordinate Reference System test of a polygon
poly

Boundary coordinates