{
  "_id": "6ad9e5f02f0b0f5df6b9fc09",
  "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-10-22 10:26:46 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",
  "_user": "ronbarry",
  "_type": "src",
  "_file": "latticeDensity_1.2.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/29d9c8595ba0807cfabdc31247e2bc607d2cd7a11bec3b13a3855dad2833123f",
  "_filesize": 1649533,
  "_sha256": "29d9c8595ba0807cfabdc31247e2bc607d2cd7a11bec3b13a3855dad2833123f",
  "_expires": "2027-01-30T10:31:10.000Z",
  "_created": "2026-10-22T10:26:46.000Z",
  "_published": "2026-10-22T10:31:12.449Z",
  "_upstream": "https://github.com/cran/latticeDensity",
  "_status": "success",
  "_maintainer": {
    "name": "Ronald Barry",
    "email": "rpbarry@alaska.edu",
    "login": "ronbarry",
    "description": "",
    "uuid": 7377028
  },
  "_jobs": [
    {
      "job": 119772173668,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12419415870"
    },
    {
      "job": 119772173439,
      "time": 181,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12418918049"
    },
    {
      "job": 119772173405,
      "time": 223,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12418978150"
    },
    {
      "job": 119772173550,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12418908076"
    },
    {
      "job": 119769281243,
      "time": 415,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12419565191"
    },
    {
      "job": 119772173341,
      "time": 185,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12418978104"
    },
    {
      "job": 119772173460,
      "time": 141,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12419301200"
    },
    {
      "job": 119772173386,
      "time": 157,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12418972719"
    },
    {
      "job": 119772173472,
      "time": 136,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12419311157"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ronbarry/actions/runs/39762287989",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ronbarry",
      "count": 7,
      "uuid": 7377028
    }
  ],
  "_userbio": {
    "uuid": 7377028,
    "type": "user",
    "name": "RonBarry",
    "followers": 0
  },
  "_downloads": {
    "count": 324,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/latticeDensity"
  },
  "_searchresults": 32,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/latticeDensity.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_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.5051499783199063,
  "_indexed": true,
  "_nocasepkg": "latticedensity",
  "_universes": [
    "ronbarry"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.7",
      "date": "2026-10-22T10:29:16.000Z",
      "distro": "resolute",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "https://r2.ropensci.org/ff958140b284a0fd778c12eef0d31fc355541a81e3342c13f62691dabe62fab4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/39762287989"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.7",
      "date": "2026-10-22T10:29:15.000Z",
      "distro": "resolute",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "https://r2.ropensci.org/30a57960834d6d98067d751ce31b981bbd7bfdf25fb0ebf96ee4483079edb100",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/39762287989"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.7",
      "date": "2026-10-22T10:29:26.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "https://r2.ropensci.org/fc56cfe075f56c57fa8e0ce4df549c81e20cd19f978ed2508a8926a7e6d25c1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/39762287989"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.7",
      "date": "2026-10-22T10:28:59.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "https://r2.ropensci.org/fdb03d86e4b1a510a14f44d5a1986c0f382cec7527cf252e76265475b45f2250",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/39762287989"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.7",
      "date": "2026-10-22T10:30:06.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "https://r2.ropensci.org/8494f3dcafe013fe96b83053fc70c06e42a2f06c323fbac65ecace5bc47d4ff6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/39762287989"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.7",
      "date": "2026-10-22T10:28:16.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "https://r2.ropensci.org/dafa4460b2441ebaaad0d4e0ec2566beafbcdda5157255c6a6c9b947c5bb6a62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/39762287989"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.7",
      "date": "2026-10-22T10:28:27.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "https://r2.ropensci.org/a61f0f91dcf82700c93d26943957d18f33a2517c235462147be6f408ffe76d93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/39762287989"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.7",
      "date": "2026-10-22T10:28:22.000Z",
      "commit": "d29318de493a5ca0da3ab9e279a756fddcf5dce3",
      "fileid": "https://r2.ropensci.org/f8135bb1697dedd8b8a82ae03f41936cc91ca32bdf2f281b950b53d22789e296",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ronbarry/actions/runs/39762287989"
    }
  ]
}