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.
Currently the argument
l(cell side lengths to consider) tobcd()is set by default toseq(10000, 100000, 10000): for self-similaritymatrix(rep(seq(10000, 100000, 10000), 2), ncol = 2): for self-affinityHowever, 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:
*POLYGONgeometries) or the shortest line segment (for*LINESTRINGgeometries)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.