{
  "_id": "6a1407ddacfb0bcc41d39b8a",
  "Package": "latticeDensity",
  "Type": "Package",
  "Title": "Density Estimation and Nonparametric Regression on Irregular\nRegions",
  "Version": "1.2.7",
  "Date": "2025-07-17",
  "Authors@R": "person(\"Ronald\", \"Barry\", \nrole=c(\"aut\",\"cre\"),\nemail=\"rpbarry@alaska.edu\")",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "Description": "Functions that compute the lattice-based density and\nregression estimators for two-dimensional regions with\nirregular boundaries and holes.  The density estimation\ntechnique is described in Barry and McIntyre (2011)\n<doi:10.1016/j.ecolmodel.2011.02.016>, while the non-parametric\nregression technique is described in McIntyre and Barry (2018)\n<doi:10.1080/10618600.2017.1375935>.",
  "License": "GPL-2",
  "Packaged": {
    "Date": "2026-05-25 08:22:49 UTC",
    "User": "root"
  },
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Author": "Ronald Barry [aut, cre]",
  "Maintainer": "Ronald Barry <rpbarry@alaska.edu>",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://ronbarry.r-universe.dev",
  "Date/Publication": "2025-07-28 18:40:13 UTC",
  "RemoteUrl": "https://github.com/cran/latticeDensity",
  "RemoteRef": "HEAD",
  "RemoteSha": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
  "MD5sum": "1220ac9ac071e7822a785e3582cf90b9",
  "_user": "ronbarry",
  "_type": "src",
  "_file": "latticeDensity_1.2.7.tar.gz",
  "_fileid": "53f84e6c02fabb85d135c09001665c06ae0981fbc8d569a71fed7ea8fc4e3879",
  "_filesize": 1635798,
  "_sha256": "53f84e6c02fabb85d135c09001665c06ae0981fbc8d569a71fed7ea8fc4e3879",
  "_created": "2026-05-25T08:22:49.000Z",
  "_published": "2026-05-25T08:27:09.219Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77680345925,
      "time": 217,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7194555160"
    },
    {
      "job": 77680345950,
      "time": 187,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194548177"
    },
    {
      "job": 77680345974,
      "time": 222,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7194548130"
    },
    {
      "job": 77680345944,
      "time": 208,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194545778"
    },
    {
      "job": 77679871081,
      "time": 234,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194503232"
    },
    {
      "job": 77680345918,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194539384"
    },
    {
      "job": 77680345986,
      "time": 143,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7194537324"
    },
    {
      "job": 77680345931,
      "time": 198,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7194551211"
    },
    {
      "job": 77680345939,
      "time": 203,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194552211"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ronbarry/actions/runs/26390815251",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/latticeDensity",
  "_commit": {
    "id": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
    "author": "Ronald Barry <rpbarry@alaska.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.7\n",
    "time": 1753728013
  },
  "_maintainer": {
    "name": "Ronald Barry",
    "email": "rpbarry@alaska.edu",
    "login": "ronbarry",
    "description": "",
    "uuid": 7377028
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "spatstat",
      "version": ">= 2.0-0",
      "role": "Depends"
    },
    {
      "package": "spatstat.geom",
      "role": "Depends"
    },
    {
      "package": "splancs",
      "role": "Imports"
    },
    {
      "package": "spdep",
      "role": "Imports"
    },
    {
      "package": "spam",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "spatialreg",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2.7",
      "date": "2025-07-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ronbarry",
      "count": 7,
      "uuid": 7377028
    }
  ],
  "_userbio": {
    "uuid": 7377028,
    "type": "user",
    "name": "RonBarry"
  },
  "_downloads": {
    "count": 230,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/latticeDensity"
  },
  "_searchresults": 29,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/latticeDensity.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "ronbarry",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.5",
      "date": "2011-06-08"
    },
    {
      "version": "1.0.6",
      "date": "2011-06-25"
    },
    {
      "version": "1.0.7",
      "date": "2012-01-07"
    },
    {
      "version": "1.1.0",
      "date": "2018-08-19"
    },
    {
      "version": "1.1.6",
      "date": "2020-05-09"
    },
    {
      "version": "1.2.6",
      "date": "2021-04-18"
    },
    {
      "version": "1.2.7",
      "date": "2025-08-01"
    }
  ],
  "_exports": [
    "addObservations",
    "addQuantVar",
    "areaRegion",
    "createDensity",
    "createNparReg",
    "crossvalDensity",
    "crossvalNparReg",
    "deletedResid",
    "editLattice",
    "formLattice",
    "homerange",
    "makeTmatrix",
    "nodeFilling",
    "removeHole",
    "Tkp",
    "varianceMap"
  ],
  "_datasets": [
    {
      "name": "areaRegionExample",
      "title": "A region with two holes",
      "object": "areaRegionExample",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "nparExample",
      "title": "Example boundary with a grid of locations",
      "object": "nparExample",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "polygon1",
      "title": "Example boundary with causeway",
      "object": "polygon1",
      "class": [
        "matrix",
        "array"
      ],
      "fields": {},
      "rows": 19,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "addObservations",
      "title": "Input observations for use in the lattice-based density estimator",
      "topics": [
        "addObservations"
      ]
    },
    {
      "page": "addQuantVar",
      "title": "Input data for Nonparametric Regression smoothing.",
      "topics": [
        "addQuantVar"
      ]
    },
    {
      "page": "areaRegion",
      "title": "Computes area of a region",
      "topics": [
        "areaRegion"
      ]
    },
    {
      "page": "areaRegionExample",
      "title": "A region with two holes",
      "topics": [
        "areaRegionExample"
      ]
    },
    {
      "page": "createDensity",
      "title": "Generates a density using random walks on a lattice.",
      "topics": [
        "createDensity"
      ]
    },
    {
      "page": "createNparReg",
      "title": "Performs nonparametric regression on irregular regions.",
      "topics": [
        "createNparReg"
      ]
    },
    {
      "page": "crossvalDensity",
      "title": "UBC crossvalidation for the lattice-based density estimator.",
      "topics": [
        "crossvalDensity"
      ]
    },
    {
      "page": "crossvalNparReg",
      "title": "Crossvalidation for non-parametric regression.",
      "topics": [
        "crossvalNparReg"
      ]
    },
    {
      "page": "deletedResid",
      "title": "Deleted residuls for non-parametric regression.",
      "topics": [
        "deletedResid"
      ]
    },
    {
      "page": "editLattice",
      "title": "Add or remove links in the lattice",
      "topics": [
        "editLattice"
      ]
    },
    {
      "page": "formLattice",
      "title": "Builds a neighbor structure on the nodes.",
      "topics": [
        "formLattice"
      ]
    },
    {
      "page": "homerange",
      "title": "Produces a homerange map.",
      "topics": [
        "homerange"
      ]
    },
    {
      "page": "makeTmatrix",
      "title": "Create the transition matrix for the diffusion.",
      "topics": [
        "makeTmatrix"
      ]
    },
    {
      "page": "nodeFilling",
      "title": "Produces a grid of locations inside the region boundary.",
      "topics": [
        "nodeFilling"
      ]
    },
    {
      "page": "nparExample",
      "title": "Example boundary with a grid of locations",
      "topics": [
        "nparExample"
      ]
    },
    {
      "page": "plot.densityOut",
      "title": "Plot the density map",
      "topics": [
        "plot.densityOut"
      ]
    },
    {
      "page": "plot.formLatticeOutput",
      "title": "Plot the lattice.",
      "topics": [
        "plot.formLatticeOutput"
      ]
    },
    {
      "page": "plot.nodeFillingOutput",
      "title": "Plot a nodeFillingOutput object.",
      "topics": [
        "plot.nodeFillingOutput"
      ]
    },
    {
      "page": "plot.NparRegOut",
      "title": "Plot the non-parametric regression surface.",
      "topics": [
        "plot.NparRegOut"
      ]
    },
    {
      "page": "plot.varianceMapOut",
      "title": "Plot the standard error map.",
      "topics": [
        "plot.varianceMapOut"
      ]
    },
    {
      "page": "polygon1",
      "title": "Example boundary with causeway",
      "topics": [
        "polygon1"
      ]
    },
    {
      "page": "predict.NparRegOut",
      "title": "Predictions at data locations from lattice-based non-parametric regression.",
      "topics": [
        "predict.NparRegOut"
      ]
    },
    {
      "page": "removeHole",
      "title": "Removes holes from the region prior to density estimation.",
      "topics": [
        "removeHole"
      ]
    },
    {
      "page": "Tkp",
      "title": "Compute the vector T^k*p",
      "topics": [
        "Tkp"
      ]
    },
    {
      "page": "varianceMap",
      "title": "Spatial variance for the regression smoother.",
      "topics": [
        "varianceMap"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "checkmate",
    "class",
    "classInt",
    "coda",
    "codetools",
    "data.table",
    "DBI",
    "deldir",
    "dotCall64",
    "e1071",
    "Formula",
    "generics",
    "goftest",
    "insight",
    "KernSmooth",
    "lattice",
    "LearnBayes",
    "marginaleffects",
    "MASS",
    "Matrix",
    "mgcv",
    "multcomp",
    "mvtnorm",
    "nlme",
    "polyclip",
    "proxy",
    "Rcpp",
    "rlang",
    "rpart",
    "s2",
    "sandwich",
    "sf",
    "sp",
    "spam",
    "spatialreg",
    "spatstat",
    "spatstat.data",
    "spatstat.explore",
    "spatstat.geom",
    "spatstat.linnet",
    "spatstat.model",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "spData",
    "spdep",
    "splancs",
    "survival",
    "tensor",
    "TH.data",
    "units",
    "wk",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "latticeDensity.Rmd",
      "filename": "latticeDensity.html",
      "title": "Nonparametric Regression and Density Estimation",
      "author": "Ron Barry",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Kernel Density Estimation:",
        "Step One:",
        "Step Two:",
        "Optional Step:",
        "Step Three:",
        "A Simple Kernel Example",
        "Nonparametric Regression:",
        "Error map",
        "Holes",
        "NOTE:  Warnings"
      ],
      "created": "2018-08-19 06:30:02",
      "modified": "2025-07-28 18:40:13",
      "commits": 4
    }
  ],
  "_score": 2.462397997898956,
  "_indexed": true,
  "_nocasepkg": "latticedensity",
  "_universes": [
    "ronbarry"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.7",
      "date": "2026-05-25T08:25:40.000Z",
      "distro": "noble",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "299884638cdb24f1e4f332090900d92cac01aa2af874f7c25929ac7f32c814a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/26390815251"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.7",
      "date": "2026-05-25T08:25:18.000Z",
      "distro": "noble",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "c4f7221412f13cb28326e54c4913e70447c8551b430e6d3ac057ab2cbb458569",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/26390815251"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.7",
      "date": "2026-05-25T08:25:28.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "822d8ef0a51fe40491c3e00d951047c41adb7c342bc3f281d3ade610f2e06b05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/26390815251"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.7",
      "date": "2026-05-25T08:25:12.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "dea0c7d16c33e061e8c90f191af0286ec581d0758778ac160d85594729980984",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/26390815251"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.7",
      "date": "2026-05-25T08:25:40.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "de40caba06e35e4852ee41bd6a8de82634e6ca6deb8c9864d2a83cf0fb8e14cf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/26390815251"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.7",
      "date": "2026-05-25T08:24:15.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "752f3a141d95e79d65861fb5d7549200e8a730950cfc45b6fc7e4c9324b9cb6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/26390815251"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.7",
      "date": "2026-05-25T08:25:05.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "f8ef0b4f5e017a5ddb55abfedc4b8ac3bdf3dc6b677890a319471c3bfe6a7c3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/26390815251"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.7",
      "date": "2026-05-25T08:25:10.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "499b286bc13a34d6a182776d36eb36a1f0e817f7c9965896b40330bb737ff501",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/26390815251"
    }
  ]
}