Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riatelab/SpatialPosition
R package for computing spatial position models
https://github.com/riatelab/SpatialPosition
accessibility cran potential r r-package spatial-analysis stewart-potentials
Last synced: 3 months ago
JSON representation
R package for computing spatial position models
- Host: GitHub
- URL: https://github.com/riatelab/SpatialPosition
- Owner: riatelab
- Created: 2015-03-26T07:32:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-13T09:35:45.000Z (about 1 year ago)
- Last Synced: 2024-07-10T17:24:19.957Z (4 months ago)
- Topics: accessibility, cran, potential, r, r-package, spatial-analysis, stewart-potentials
- Language: R
- Homepage: https://rgeomatic.hypotheses.org/category/spatialposition
- Size: 715 KB
- Stars: 31
- Watchers: 11
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Citation: CITATION.cff
Awesome Lists containing this project
README
# SpatialPosition
[![Version](http://www.r-pkg.org/badges/version/SpatialPosition)](https://CRAN.R-project.org/package=SpatialPosition)
[![R-CMD-check](https://github.com/riatelab/SpatialPosition/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/riatelab/SpatialPosition/actions/workflows/R-CMD-check.yaml)![Stewart Potentials ](http://rgeomatic.hypotheses.org/files/2015/12/potentials.png)
R package for computing spatial position models:
* Stewart potentials :warning:
* Reilly catchment areas
* Huff catchment areas:warning: **Functions related to Stewart's potential are deprecated. Please use the [`potential`](https://riatelab.github.io/potential/) package instead.**
## Installation
### From CRAN
Stable version
```{r}
install.packages("SpatialPosition")
```### From GitHub
Development version / unstable
```{r}
require(remotes)
remotes::install_github("riatelab/SpatialPosition")
```### From Archive
Version 2.0.0 of the package is a major release that should not break old code.
Anyway, in case of problem you can use these lines to get a previous version of the package.
```{r}
packageurl <- "https://cran.r-project.org/src/contrib/Archive/SpatialPosition/SpatialPosition_1.2.0.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
```## Demo
Vignettes contain commented scripts on how to use `SpatialPostion`.* Introduction to the SpatialPosition package :
```{r}
vignette(topic = "SpatialPosition")
```* Stewart Potentials: a Use Case :
```{r}
vignette(topic = "StewartExample")
```