diff --git a/examples/costanza.lua b/examples/costanza.lua index dc4f7f8..c6cba1c 100644 --- a/examples/costanza.lua +++ b/examples/costanza.lua @@ -1,5 +1,5 @@ -- @example Basic example for testing goodness-of-fit. --- This example reproduces Figure 4 of from Costanza R. +-- This example reproduces Figure 4 of from Costanza R. -- Model goodness of fit: a multiple resolution procedure. Ecological modelling. 1989 Sep 15;47(3-4):199-215. import("calibration") @@ -13,7 +13,7 @@ scene2 = CellularSpace{ attrname = "value" } -result = multiLevel{ +result, data = multiLevel{ target = {scene1, scene2}, select = "value", discrete = true diff --git a/examples/costanza.tme b/examples/costanza.tme new file mode 100644 index 0000000..8eb3a9d --- /dev/null +++ b/examples/costanza.tme @@ -0,0 +1,8 @@ +return { + [1] = { + x = 100, + y = 100, + width = 600, + height = 500, + }, +} diff --git a/lua/GoodnessOfFit.lua b/lua/GoodnessOfFit.lua index 76c1b68..23c3f8e 100644 --- a/lua/GoodnessOfFit.lua +++ b/lua/GoodnessOfFit.lua @@ -240,12 +240,12 @@ end -- @usage import("calibration") -- -- cs1 = CellularSpace{ --- file = filePath("Costanza.pgm", "calibration"), +-- file = filePath("costanza.pgm", "calibration"), -- attrname = "costanza" -- } -- -- cs2 = CellularSpace{ --- file = filePath("Costanza2.pgm", "calibration"), +-- file = filePath("costanza2.pgm", "calibration"), -- attrname = "costanza" -- } --