Learn R Programming

⚠️There's a newer version (2.0.1) of this package.Take me there.

fsr Package: Handling fuzzy spatial data in R

Current release: 1.0.0

A research paper describing the first version of fsr has been accepted to publication in ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems 2021 (ACM SIGSPATIAL 2021).

About fsr

Many spatial objects (i.e., geographical objects) in reality may have inexact locations, vague boundaries, and/or blurred interiors, and hence cannot be adequately represented by well-known (crisp) spatial objects (e.g., those objects available in spatial libraries like GEOS and GDAL). Fuzzy set theory and fuzzy logic are powerful approaches to deal with spatial fuzziness.

Unfortunately, spatial fuzziness has so far not found its way into spatial data science projects due to a lack of complete implementations of software packages that can handle fuzzy spatial objects. Motivated by this lack of support, the fsr package has the following advantages:

Installing

Install the development version from GitHub with

library(devtools)
install_github("accarniel/fsr")

Contributing and Contact

The project welcomes contributions from three different perspectives. You can contribute to fsr by making Pull Requests on this GitHub Repository. Alternatively, contact Anderson Carniel by sending an email to accarniel@ufscar.br. When a Pull Request or email is sent, Anderson Carniel will check it as soon as possible.

Copy Link

Version

Install

install.packages('fsr')

Monthly Downloads

246

Version

1.0.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Anderson Carniel

Last Published

September 16th, 2021

Functions in fsr (1.0.0)

create_empty_pgeometry

Creation of an empty pgeometry object
fsi_eval

Evaluating an FSI model for a given point location
as_tibble.pgeometry

Converting a pgeometry object into tabular data
fsi_add_fsa

Adding an antecedent to an FSI model
component-class

An S4 Class for representing a component of a spatial plateau object
fsi_add_rules

Adding fuzzy rules to an FSI model
PWKT

The PWKT of a spatial plateau object
fsi_create

Creation of an empty fuzzy spatial inference model
fsi_add_cs

Adding the consequent to an FSI model
create_pgeometry

Creation of a pgeometry object with components
fsr_diff_operators

Fuzzy difference operators
fsr_is_empty

Checking whether a pgeometry object is empty
fsr_geometric_operations

Fuzzy geometric set operations
fsr_eval_modes

Evaluation modes
spa_set_classification

Setting a new classification for fuzzy topological relationships
fsr_components

Creation of a component
spa_exact_inside

Check exact containment
fsi_qw_eval

Evaluating a query window inference
pgeometry-class

An S4 Class for representing a spatial plateau object
spa_eval

Capturing the membership degree of a point
spa_exact_equal

Check exact equality
plot

Visualization of pgeometry objects
spa_creator

Building pgeometry objects from a point dataset
spa_core

Capturing the core of a pgeometry object
fsr_numerical_operations

Fuzzy numerical operations
spa_boundary_pregion

Capturing the fuzzy boundary of a plateau region object
fsr_topological_relationships

Fuzzy topological relationships
spa_contour

Capturing the frontier of a plateau region object
spa_support

Capturing the support of a pgeometry object
reexports

Objects exported from other packages
visitation

Visitation: An example of FSI model
spa_add_component

Adding components to a pgeometry object