Skip to content

Automatically determine cell-sizes to check while running bcd() #8

@pramitghosh

Description

@pramitghosh

Currently the argument l (cell side lengths to consider) to bcd() is set by default to

  • seq(10000, 100000, 10000): for self-similarity
  • matrix(rep(seq(10000, 100000, 10000), 2), ncol = 2): for self-affinity

However, these default values may lead to erroneous results depending on the data under consideration. A function that could automatically determine optimal cell-sizes for which the grid is to be calculated will be beneficial. This can be based on factors such as:

  • the geometric size of the feature (i.e. the length and width of its bounding box)
  • the length of the shortest edge (for *POLYGON geometries) or the shortest line segment (for *LINESTRING geometries)

There have been studies in the past to determine optimal cell-sizes while calculating box-counting dimension with published literature (mostly in statistical physics). Pointers to these sources will be highly appreciated if posted below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions