{
  "_id": "6ace1b61a14063b82c3afad7",
  "Package": "SpatPCA",
  "Title": "Regularized Principal Component Analysis for Spatial Data",
  "Version": "1.3.8",
  "Authors@R": "c(person(\ngiven = \"Wen-Ting\",\nfamily = \"Wang\",\nemail = \"egpivo@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-3051-7302\")\n),\nperson(\ngiven = \"Hsin-Cheng\",\nfamily = \"Huang\",\nemail = \"hchuang@stat.sinica.edu.tw\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-5613-349X\")\n)\n)",
  "Description": "Provide regularized principal component analysis\nincorporating smoothness, sparseness and orthogonality of\neigen-functions by using the alternating direction method of\nmultipliers algorithm (Wang and Huang, 2017,\n<DOI:10.1080/10618600.2016.1157483>). The method can be applied\nto either regularly or irregularly spaced data, including 1D,\n2D, and 3D.",
  "License": "GPL (>= 2)",
  "ByteCompile": "true",
  "BugReports": "https://github.com/egpivo/SpatPCA/issues",
  "SystemRequirements": "GNU make",
  "VignetteBuilder": "knitr, rmarkdown",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "URL": "https://egpivo.github.io/SpatPCA/,\nhttps://github.com/egpivo/SpatPCA",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-13 11:46:53 UTC",
    "User": "root"
  },
  "Author": "Wen-Ting Wang [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3051-7302>), Hsin-Cheng Huang\n[aut] (ORCID: <https://orcid.org/0000-0002-5613-349X>)",
  "Maintainer": "Wen-Ting Wang <egpivo@gmail.com>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-09-28 10:40:18 UTC",
  "RemoteUrl": "https://github.com/cran/SpatPCA",
  "RemoteRef": "HEAD",
  "RemoteSha": "1aa808defb9327080ed19facd8c39b892c757568",
  "_user": "cran",
  "_type": "src",
  "_file": "SpatPCA_1.3.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/d6c75dc2ac4065fefa5f501a1a0e666e97b332b81f17597c3dea901d25d7d4b1",
  "_filesize": 1098961,
  "_sha256": "d6c75dc2ac4065fefa5f501a1a0e666e97b332b81f17597c3dea901d25d7d4b1",
  "_expires": "2027-01-21T11:51:59.000Z",
  "_created": "2026-10-13T11:46:53.000Z",
  "_published": "2026-10-13T11:52:01.627Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38392149204",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115280031413,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11809422715"
    },
    {
      "job": 115280031612,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11810406455"
    },
    {
      "job": 115280031580,
      "time": 153,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11810901377"
    },
    {
      "job": 115280031456,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11810846427"
    },
    {
      "job": 115278463627,
      "time": 241,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11810955853"
    },
    {
      "job": 115280031406,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11810311425"
    },
    {
      "job": 115280031494,
      "time": 246,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11810621776"
    },
    {
      "job": 115280031462,
      "time": 192,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11809662577"
    },
    {
      "job": 115280031530,
      "time": 237,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11810916594"
    },
    {
      "job": 115280031448,
      "time": 134,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11809602511"
    }
  ],
  "_upstream": "https://github.com/cran/SpatPCA",
  "_commit": {
    "id": "1aa808defb9327080ed19facd8c39b892c757568",
    "author": "Wen-Ting Wang <egpivo@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.3.8\n",
    "time": 1759056018
  },
  "_maintainer": {
    "name": "Wen-Ting Wang",
    "email": "egpivo@gmail.com",
    "login": "egpivo",
    "linkedin": "in/wtwang",
    "description": "I love turning messy & massive data into intelligent systems.\n",
    "uuid": 7146349,
    "orcid": "0000-0003-3051-7302"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.3",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "fields",
      "role": "Suggests"
    },
    {
      "package": "scico",
      "role": "Suggests"
    },
    {
      "package": "plot3D",
      "role": "Suggests"
    },
    {
      "package": "pracma",
      "role": "Suggests"
    },
    {
      "package": "RColorBrewer",
      "role": "Suggests"
    },
    {
      "package": "maps",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "styler",
      "role": "Suggests"
    },
    {
      "package": "V8",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "egpivo",
      "count": 12,
      "uuid": 7146349
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 331,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SpatPCA"
  },
  "_devurl": "https://github.com/egpivo/spatpca",
  "_pkgdown": "https://egpivo.github.io/SpatPCA/",
  "_searchresults": 17,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SpatPCA.html"
  ],
  "_homeurl": "https://github.com/egpivo/spatpca",
  "_realowner": "egpivo",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2015-01-23"
    },
    {
      "version": "1.0.0.1",
      "date": "2015-02-06"
    },
    {
      "version": "1.0.0.2",
      "date": "2015-06-06"
    },
    {
      "version": "1.1.0.0",
      "date": "2015-11-01"
    },
    {
      "version": "1.1.1.0",
      "date": "2016-02-11"
    },
    {
      "version": "1.1.1.1",
      "date": "2016-05-27"
    },
    {
      "version": "1.1.1.2",
      "date": "2017-03-18"
    },
    {
      "version": "1.2.0.0",
      "date": "2018-02-20"
    },
    {
      "version": "1.2.0.1",
      "date": "2020-01-09"
    },
    {
      "version": "1.3.3.0",
      "date": "2021-01-31"
    },
    {
      "version": "1.3.5",
      "date": "2023-11-13"
    },
    {
      "version": "1.3.8",
      "date": "2025-09-28"
    }
  ],
  "_exports": [
    "checkInputData",
    "checkNewLocationsForSpatpcaObject",
    "detrend",
    "eigenFunction",
    "fetchUpperBoundNumberEigenfunctions",
    "plot.spatpca",
    "predict",
    "predictEigenfunction",
    "scaleLocation",
    "setCores",
    "setGamma",
    "setL2",
    "setNumberEigenfunctions",
    "setTau1",
    "setTau2",
    "spatialPrediction",
    "spatpca",
    "spatpcaCV",
    "spatpcaCVWithSelectedK",
    "thinPlateSplineMatrix"
  ],
  "_help": [
    {
      "page": "SpatPCA-package",
      "title": "Regularized Principal Component Analysis for Spatial Data",
      "topics": [
        "SpatPCA-package"
      ]
    },
    {
      "page": "plot.spatpca",
      "title": "Display the cross-validation results",
      "topics": [
        "plot.spatpca"
      ]
    },
    {
      "page": "predict",
      "title": "Spatial predictions on new locations",
      "topics": [
        "predict"
      ]
    },
    {
      "page": "predictEigenfunction",
      "title": "Spatial dominant patterns on new locations",
      "topics": [
        "predictEigenfunction"
      ]
    },
    {
      "page": "spatpca",
      "title": "Regularized PCA for spatial data",
      "topics": [
        "spatpca"
      ]
    },
    {
      "page": "thinPlateSplineMatrix",
      "title": "Thin-plane spline matrix",
      "topics": [
        "thinPlateSplineMatrix"
      ]
    }
  ],
  "_readme": "https://github.com/cran/SpatPCA/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "demo-one-dim-location.Rmd",
      "filename": "demo-one-dim-location.html",
      "title": "Capture the Dominant Spatial Pattern with One-Dimensional Locations",
      "author": "Wen-Ting Wang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Objective",
        "Basic settings",
        "Used packages",
        "True spatial pattern (eigenfunction)",
        "Case I: Higher signal of the true eigenfunction",
        "Generate realizations",
        "Animate realizations",
        "Apply SpatPCA::spatpca",
        "Compare SpatPCA with PCA",
        "Case II: Lower signal of the true eigenfunction",
        "Generate realizations with $\\sigma=3$",
        "Compare resultant patterns"
      ],
      "created": "2021-01-31 14:30:13",
      "modified": "2025-09-28 10:40:18",
      "commits": 3
    },
    {
      "source": "demo-two-dim-location.Rmd",
      "filename": "demo-two-dim-location.html",
      "title": "Capture the Dominant Spatial Pattern with Two-Dimensional Locations",
      "author": "Wen-Ting Wang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Objective",
        "Basic settings",
        "Used packages",
        "True spatial pattern (eigenfunction)",
        "Experiment",
        "Generate 2-D realizations",
        "Animate realizations",
        "Apply SpatPCA::spatpca",
        "Compare SpatPCA with PCA"
      ],
      "created": "2021-01-31 14:30:13",
      "modified": "2025-09-28 10:40:18",
      "commits": 3
    }
  ],
  "_score": 3.230448921378274,
  "_indexed": false,
  "_nocasepkg": "spatpca",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://egpivo.r-universe.dev/SpatPCA",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-13T11:49:40.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1aa808defb9327080ed19facd8c39b892c757568",
      "fileid": "https://r2.ropensci.org/03894938e55b4e5eb2bd6ae28b973ff52d36eb0267cc470b1a4fc987a587536f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38392149204"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-13T11:49:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1aa808defb9327080ed19facd8c39b892c757568",
      "fileid": "https://r2.ropensci.org/992df03a7c00183bb8ee9fab16b2ab539addc5c784741bd140e207de866127cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38392149204"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-13T11:49:29.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1aa808defb9327080ed19facd8c39b892c757568",
      "fileid": "https://r2.ropensci.org/aeced07917d5869480358e745de7753cbcac58505784df45fabe05281a8e624c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38392149204"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-13T11:49:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1aa808defb9327080ed19facd8c39b892c757568",
      "fileid": "https://r2.ropensci.org/187c6929d384711503fdece329518e1492a7ad6724e670ba1b8fdd5664054336",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38392149204"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.8",
      "date": "2026-10-13T11:49:18.000Z",
      "arch": "emscripten",
      "commit": "1aa808defb9327080ed19facd8c39b892c757568",
      "fileid": "https://r2.ropensci.org/426421204c4bfef4efb8c24d413d7ceea516106543a79556b5159f54b8bcde91",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38392149204"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-13T11:50:41.000Z",
      "arch": "aarch64",
      "commit": "1aa808defb9327080ed19facd8c39b892c757568",
      "fileid": "https://r2.ropensci.org/351951ba8cdbe2e398d8b1164a786a78b6b97f3bf25c46a155baddff2fe402fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38392149204"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-13T11:49:03.000Z",
      "arch": "x86_64",
      "commit": "1aa808defb9327080ed19facd8c39b892c757568",
      "fileid": "https://r2.ropensci.org/f973f7ba2dd422addb3a0c7bd7a0c5df40b256d93211b08cbb65ded27d97ec2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38392149204"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-13T11:50:41.000Z",
      "arch": "aarch64",
      "commit": "1aa808defb9327080ed19facd8c39b892c757568",
      "fileid": "https://r2.ropensci.org/508e52e40852a1967383915bae35e7608f1b1d0414ca6f4be127f6524e2b3661",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38392149204"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-13T11:48:31.000Z",
      "arch": "x86_64",
      "commit": "1aa808defb9327080ed19facd8c39b892c757568",
      "fileid": "https://r2.ropensci.org/cb11731cd8816942c89ddda4475faeb2b7fa720334f488cc63cadee99c96a805",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38392149204"
    }
  ]
}