Giter VIP home page Giter VIP logo

samesvd's Introduction

sameSVD

R-CMD-check pkgdown codecov

Author: Pramit Ghosh

Description

sameSVD stands for Similarity and Affinity Measures for Spatial Vector Data

This package is still under development and many of the objectives of this package are yet to be implemented or conceptualized.

The objective of this package is to establish (if required) and implement measures of (self-)similarity and (self-)affinity for spatial vector data represented in accordance with the Simple Features (officially Simple Features Access) specifications, as standardized by OGC and ISO.

Present Status

Similarity Affinity
Self - *POINT [done]
- *LINESTRING [done]
- *POLYGON [done]
- *POINT [not implemented yet]
- *LINESTRING [not implemented yet]
- *POLYGON [not implemented yet]

to be implemented using box-counting dimension
Others - *POINT [?]
- LINESTRING [turning angles]
- POLYGON [turning angles]
- MULTILINESTRING [?]
- MULTIPOLYGON [?]
- *POINT [?]
- *LINESTRING [?]
- *POLYGON [?]

need suitable algorithms to implement

Installation

Dependencies

In order to install this package, the following packages are required as a pre-requisite.

  • sf

In addition, the following packages are also suggested. These are mostly required to knit the vignettes and run certain tests.

  • rnaturalearth
  • rnaturalearthdata
  • rgeos

These can be installed by running the following command in R:

install.packages(c("sf", "rnaturalearth", "rnaturalearthdata", "rgeos"))

Installing sameSVD

This package can be installed as follows

install.packages("remotes")
library(remotes)
install_github("pramitghosh/sameSVD")

Usage

The Box-Counting dimension can be calculated using bcd(). The following example illustrates the usage.

library(sameSVD)
library(rnaturalearth)
deutschland = ne_countries(scale = "medium", country = "Germany", returnclass = "sf")
bcd(deutschland, plot = TRUE)

A more detailed illustration along with the internal working can be found in the vignettes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.