{
  "_id": "6a129313acfb0bcc41d0b7d3",
  "Package": "SCDA",
  "Type": "Package",
  "Title": "Spatially-Clustered Data Analysis",
  "Version": "0.0.2",
  "Description": "Contains functions for statistical data analysis based on\nspatially-clustered techniques. The package allows estimating\nthe spatially-clustered spatial regression models presented in\nCerqueti, Maranzano \\& Mattera (2024), \"Spatially-clustered\nspatial autoregressive models with application to agricultural\nmarket concentration in Europe\", arXiv preprint 2407.15874\n<doi:10.48550/arXiv.2407.15874>. Specifically, the current\nrelease allows the estimation of the spatially-clustered linear\nregression model (SCLM), the spatially-clustered spatial\nautoregressive model (SCSAR), the spatially-clustered spatial\nDurbin model (SCSEM), and the spatially-clustered linear\nregression model with spatially-lagged exogenous covariates\n(SCSLX). From release 0.0.2, the library contains functions to\nestimate spatial clustering based on Adiajacent Matrix K-Means\n(AMKM) as described in Zhou, Liu \\& Zhu (2019), \"Weighted\nadjacent matrix for K-means clustering\", Multimedia Tools and\nApplications, 78 (23) <doi:10.1007/s11042-019-08009-x>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "RoxygenNote": "7.3.1",
  "LazyData": "true",
  "Maintainer": "Paolo Maranzano <pmaranzano.ricercastatistica@gmail.com>",
  "Authors@R": "c(person(given = \"Paolo\",\nfamily = \"Maranzano\",\nrole = c(\"aut\",\"cre\",\"cph\"),\nemail = \"pmaranzano.ricercastatistica@gmail.com\",\ncomment = c(ORCID = \"0000-0002-9228-2759\")),\nperson(given = \"Raffaele\",\nfamily = \"Mattera\",\nrole = c(\"aut\",\"cph\"),\nemail = \"raffaele.mattera@uniroma1.it\",\ncomment = c(ORCID = \"0000-0001-8770-7049\")),\nperson(given = \"Camilla\",\nfamily = \"Lionetti\",\nrole = c(\"aut\",\"cph\"),\nemail = \"lionetticamilla511@gmail.com\"),\nperson(given = \"Francesco\",\nfamily = \"Caccia\",\nrole = c(\"aut\",\"cph\"),\nemail = \"francesco.caccia2000@gmail.com\")\n)",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 05:52:09 UTC",
    "User": "root"
  },
  "Author": "Paolo Maranzano [aut, cre, cph]\n(<https://orcid.org/0000-0002-9228-2759>), Raffaele Mattera\n[aut, cph] (<https://orcid.org/0000-0001-8770-7049>), Camilla\nLionetti [aut, cph], Francesco Caccia [aut, cph]",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libjpeg-dev libpng-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev",
  "Repository": "https://paolomaranzano.r-universe.dev",
  "Date/Publication": "2024-10-22 21:50:10 UTC",
  "RemoteUrl": "https://github.com/cran/SCDA",
  "RemoteRef": "HEAD",
  "RemoteSha": "29687864eb9c35a503df454513a87b2f4e4084d2",
  "MD5sum": "0fc97d2604fe4f9f80d452a97738d2eb",
  "_user": "paolomaranzano",
  "_type": "src",
  "_file": "SCDA_0.0.2.tar.gz",
  "_fileid": "7396479a6947165231a4fda79c8fada57a5dcba8ee2f1d75bcc40dc54b982bea",
  "_filesize": 524334,
  "_sha256": "7396479a6947165231a4fda79c8fada57a5dcba8ee2f1d75bcc40dc54b982bea",
  "_created": "2026-05-24T05:52:09.000Z",
  "_published": "2026-05-24T05:56:35.750Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77575402780,
      "time": 227,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182671480"
    },
    {
      "job": 77575402781,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182668493"
    },
    {
      "job": 77575402786,
      "time": 188,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182664941"
    },
    {
      "job": 77575402787,
      "time": 202,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182665648"
    },
    {
      "job": 77575233821,
      "time": 192,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182647620"
    },
    {
      "job": 77575402774,
      "time": 174,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182665498"
    },
    {
      "job": 77575402790,
      "time": 161,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182664570"
    },
    {
      "job": 77575402785,
      "time": 135,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182661869"
    },
    {
      "job": 77575402784,
      "time": 146,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182662983"
    }
  ],
  "_buildurl": "https://github.com/r-universe/paolomaranzano/actions/runs/26353298232",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/SCDA",
  "_commit": {
    "id": "29687864eb9c35a503df454513a87b2f4e4084d2",
    "author": "Paolo Maranzano <pmaranzano.ricercastatistica@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.0.2\n",
    "time": 1729633810
  },
  "_maintainer": {
    "name": "Paolo Maranzano",
    "email": "pmaranzano.ricercastatistica@gmail.com",
    "login": "paolomaranzano",
    "description": "Assistant Professor (RTT) of Economic Statistics at UniMiB-DEMS in Milano, Italy & Senior Researcher at Fondazione Eni Enrico Mattei (FEEM) in Milano, Italy.",
    "uuid": 26416757,
    "orcid": "0000-0002-9228-2759"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "spatialreg",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "spdep",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "performance",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "NbClust",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggspatial",
      "role": "Imports"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "paolomaranzano",
      "count": 2,
      "uuid": 26416757
    }
  ],
  "_userbio": {
    "uuid": 26416757,
    "type": "user",
    "name": "Paolo Maranzano",
    "description": "Assistant Professor (RTT) of Economic Statistics at UniMiB-DEMS in Milano, Italy & Senior Researcher at Fondazione Eni Enrico Mattei (FEEM) in Milano, Italy."
  },
  "_downloads": {
    "count": 602,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SCDA"
  },
  "_searchresults": 31,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/SCDA.html",
    "manual.pdf"
  ],
  "_realowner": "paolomaranzano",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2024-10-14"
    },
    {
      "version": "0.0.2",
      "date": "2024-10-22"
    }
  ],
  "_exports": [
    "Elbow_finder",
    "SC_AMKM",
    "SCSR_Estim",
    "SCSR_InfoCrit",
    "SpatReg_Extract",
    "SpatReg_GoF",
    "SpatReg_Perf",
    "SpatReg_PseudoR2"
  ],
  "_datasets": [
    {
      "name": "Data2010",
      "title": "Spatial dataset to replicate the results for 2010 from Cerqueti, R., Maranzano, P. & Mattera, R. \"Spatially-clustered spatial autoregressive models with application to agricultural market concentration in Europe\". arXiv preprints (<https://doi.org/10.48550/arXiv.2407.15874>",
      "object": "Data_RC_PM_RM_JABES2024",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Year",
        "geo_lab",
        "geo",
        "Gini_SO",
        "GDPPC_PPS2020",
        "Share_AgroEmp",
        "HoursWorked_AgroEmp",
        "GVA_AgroEmp",
        "GFCF_AgroEmp",
        "Share_AgroGVA",
        "Share_AgroLand",
        "Alt_mean",
        "HDD",
        "geometry"
      ],
      "rows": 222,
      "table": false,
      "tojson": true
    },
    {
      "name": "Data2020",
      "title": "Spatial dataset to replicate the results for 2020 from Cerqueti, R., Maranzano, P. & Mattera, R. \"Spatially-clustered spatial autoregressive models with application to agricultural market concentration in Europe\". arXiv preprints (<https://doi.org/10.48550/arXiv.2407.15874>)",
      "object": "Data_RC_PM_RM_JABES2024",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Year",
        "geo_lab",
        "geo",
        "Gini_SO",
        "GDPPC_PPS2020",
        "Share_AgroEmp",
        "HoursWorked_AgroEmp",
        "GVA_AgroEmp",
        "GFCF_AgroEmp",
        "Share_AgroGVA",
        "Share_AgroLand",
        "Alt_mean",
        "HDD",
        "geometry"
      ],
      "rows": 222,
      "table": false,
      "tojson": true
    },
    {
      "name": "listW",
      "title": "List of 222 spatial weights (style = \"W\", zero.policy=TRUE) used in Cerqueti, R., Maranzano, P. & Mattera, R. \"Spatially-clustered spatial autoregressive models with application to agricultural market concentration in Europe\". arXiv preprints (<https://doi.org/10.48550/arXiv.2407.15874>)",
      "object": "Data_RC_PM_RM_JABES2024",
      "class": [
        "listw",
        "nb"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "Data2010",
      "title": "Spatial dataset to replicate the results for 2010 from Cerqueti, R., Maranzano, P. & Mattera, R. \"Spatially-clustered spatial autoregressive models with application to agricultural market concentration in Europe\". arXiv preprints (<https://doi.org/10.48550/arXiv.2407.15874>",
      "topics": [
        "Data2010"
      ]
    },
    {
      "page": "Data2020",
      "title": "Spatial dataset to replicate the results for 2020 from Cerqueti, R., Maranzano, P. & Mattera, R. \"Spatially-clustered spatial autoregressive models with application to agricultural market concentration in Europe\". arXiv preprints (<https://doi.org/10.48550/arXiv.2407.15874>)",
      "topics": [
        "Data2020"
      ]
    },
    {
      "page": "Elbow_finder",
      "title": "Automatically selects the optimal number of clusters based on elbow criterion.",
      "topics": [
        "Elbow_finder"
      ]
    },
    {
      "page": "listW",
      "title": "List of 222 spatial weights (style = \"W\", zero.policy=TRUE) used in Cerqueti, R., Maranzano, P. & Mattera, R. \"Spatially-clustered spatial autoregressive models with application to agricultural market concentration in Europe\". arXiv preprints (<https://doi.org/10.48550/arXiv.2407.15874>)",
      "topics": [
        "listW"
      ]
    },
    {
      "page": "SC_AMKM",
      "title": "Spatial Clustering for sf data",
      "topics": [
        "SC_AMKM"
      ]
    },
    {
      "page": "SCSR_Estim",
      "title": "Estimate spatially-clustered spatial regression models",
      "topics": [
        "SCSR_Estim"
      ]
    },
    {
      "page": "SCSR_InfoCrit",
      "title": "Automatically select the optimal number of clusters based on likelihood information criteria (i.e., AIC, BIC and HQC) for a given SCSR model.",
      "topics": [
        "SCSR_InfoCrit"
      ]
    },
    {
      "page": "SpatReg_Extract",
      "title": "Extracts numerical values for the estimated regression parameters (i.e., spatial coefficients, regression coefficients, and residuals variance) for a given spatial regression model of class 'lm' or 'Sarlm'.",
      "topics": [
        "SpatReg_Extract"
      ]
    },
    {
      "page": "SpatReg_GoF",
      "title": "Computes a set of goodness-of-fit indices (e.g., likelihood-based information criteria, Wald and LR test, Moran's I statistic) for a given spatial regression model of class 'lm' or 'Sarlm'.",
      "topics": [
        "SpatReg_GoF"
      ]
    },
    {
      "page": "SpatReg_Perf",
      "title": "Computes a set of in-sample performance metrics (i.e., AIC, BIC, RMSE, Sigma, and Pseudo R^2) for a given spatial regression model of class 'lm' or 'Sarlm'.",
      "topics": [
        "SpatReg_Perf"
      ]
    },
    {
      "page": "SpatReg_PseudoR2",
      "title": "Computes the Pseudo R^2 metric for a given spatial regression model of class 'lm' or 'Sarlm'.",
      "topics": [
        "SpatReg_PseudoR2"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "bayestestR",
    "boot",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "datawizard",
    "DBI",
    "deldir",
    "dplyr",
    "e1071",
    "farver",
    "Formula",
    "generics",
    "ggplot2",
    "ggspatial",
    "glue",
    "gtable",
    "hms",
    "insight",
    "isoband",
    "jpeg",
    "KernSmooth",
    "labeling",
    "lattice",
    "LearnBayes",
    "lifecycle",
    "magrittr",
    "marginaleffects",
    "MASS",
    "Matrix",
    "multcomp",
    "mvtnorm",
    "NbClust",
    "nlme",
    "performance",
    "pillar",
    "pkgconfig",
    "png",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rosm",
    "s2",
    "S7",
    "sandwich",
    "scales",
    "sf",
    "sp",
    "spatialreg",
    "spData",
    "spdep",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "zoo"
  ],
  "_score": 1.4913616938342726,
  "_indexed": true,
  "_nocasepkg": "scda",
  "_universes": [
    "paolomaranzano"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-05-24T05:55:01.000Z",
      "distro": "noble",
      "commit": "29687864eb9c35a503df454513a87b2f4e4084d2",
      "fileid": "9885019f90f2d2c013cf129c9fc3d5d9039eec6b4afab99bf843eb7c13b8bb03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paolomaranzano/actions/runs/26353298232"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-05-24T05:54:41.000Z",
      "distro": "noble",
      "commit": "29687864eb9c35a503df454513a87b2f4e4084d2",
      "fileid": "fa38177214acd237a6d9e0d99eb0b4994422e04d4c658a862cf6178a1810b5df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paolomaranzano/actions/runs/26353298232"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-05-24T05:54:33.000Z",
      "commit": "29687864eb9c35a503df454513a87b2f4e4084d2",
      "fileid": "8f9efbd6589ba165349ce3cf4a91c6c9d97e9c6e88e6f43a0a426c8e7c926ee0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paolomaranzano/actions/runs/26353298232"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-05-24T05:54:34.000Z",
      "commit": "29687864eb9c35a503df454513a87b2f4e4084d2",
      "fileid": "785e19e7d7b627bbe70885eb38925983faaa4f73d6341bfd769c7901d2c7a05a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paolomaranzano/actions/runs/26353298232"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-05-24T05:55:23.000Z",
      "commit": "29687864eb9c35a503df454513a87b2f4e4084d2",
      "fileid": "8f6d05006446a86b740b0b0c4b8e87ef92564ac01370547969ea8e82c8d757ea",
      "status": "success",
      "buildurl": "https://github.com/r-universe/paolomaranzano/actions/runs/26353298232"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-05-24T05:53:34.000Z",
      "commit": "29687864eb9c35a503df454513a87b2f4e4084d2",
      "fileid": "427951f36281290a8c6166f4a365db2c914067cb042dafc598df8cc5739e23d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paolomaranzano/actions/runs/26353298232"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-05-24T05:53:33.000Z",
      "commit": "29687864eb9c35a503df454513a87b2f4e4084d2",
      "fileid": "03e163eebac74da7d784fa22995afcbeb335c060bf63833e67ec369ffa742e1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paolomaranzano/actions/runs/26353298232"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-05-24T05:53:38.000Z",
      "commit": "29687864eb9c35a503df454513a87b2f4e4084d2",
      "fileid": "467511da34150d03d9a1a632eb1afd6d3894d0e4688e51238857afc8d7d3e8a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paolomaranzano/actions/runs/26353298232"
    }
  ]
}