DividersFD {CoastlineFD} | R Documentation |
Calculation of the fractal dimension of a coastline using the dividers methods
DividersFD(DinputPath, outputPath, year, r, pearsonValue, writeF, showF)
DinputPath |
All density coastline files path |
outputPath |
All results will be exported here |
year |
R vector object, which represent your study time |
r |
R vector object, which represent your study scale |
pearsonValue |
The Pearson coefficient of your input data |
writeF |
Exporting Function's result |
showF |
Drawing Function's result |
An .xlsx file containing the results of the coastline fractal dimension
DinputPath = list.files(system.file('extdata', package = 'CoastlineFD'),full.names = TRUE)[2]
outputPath = paste0(system.file('extdata', package = 'CoastlineFD'), "/FD1985_1986.xlsx")
DividersFD(
DinputPath,
outputPath,
c(1985:1986),
c(300, 600, 900, 1000, 1050, 1100),
0.00,
FALSE,
TRUE
)