{
  "_id": "6ace0275a14063b82c3ae6e1",
  "Package": "sparr",
  "Type": "Package",
  "Title": "Spatial and Spatiotemporal Relative Risk",
  "Version": "2.3-16",
  "Date": "2025-03-20",
  "Authors@R": "c(\nperson(c(\"Tilman\", \"M.\"), \"Davies\", role = c(\"aut\", \"cre\"), email = \"tilman.davies@otago.ac.nz\"),\nperson(c(\"Jonathan\", \"C.\"), \"Marshall\", role = c(\"aut\"), email = \"j.c.marshall@massey.ac.nz\"))",
  "Description": "Provides functions to estimate kernel-smoothed spatial and\nspatio-temporal densities and relative risk functions, and\nperform subsequent inference. Methodological details can be\nfound in the accompanying tutorial: Davies et al. (2018)\n<DOI:10.1002/sim.7577>.",
  "License": "GPL (>= 2)",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.3.2",
  "URL": "https://tilmandavies.github.io/sparr/,\nhttps://github.com/tilmandavies/sparr/",
  "BugReports": "https://github.com/tilmandavies/sparr/issues/",
  "Encoding": "UTF-8",
  "Repository": "https://tilmandavies.r-universe.dev",
  "Date/Publication": "2025-03-20 00:21:10 UTC",
  "RemoteUrl": "https://github.com/tilmandavies/sparr",
  "RemoteRef": "HEAD",
  "RemoteSha": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
  "Packaged": {
    "Date": "2026-10-13 10:01:01 UTC",
    "User": "root"
  },
  "Author": "Tilman M. Davies [aut, cre],\nJonathan C. Marshall [aut]",
  "Maintainer": "Tilman M. Davies <tilman.davies@otago.ac.nz>",
  "_user": "tilmandavies",
  "_type": "src",
  "_file": "sparr_2.3-16.tar.gz",
  "_fileid": "https://r2.ropensci.org/c2bdbb34d87819203200d007b72552bcbb9a5afd2b563facccd2055ad5d462fe",
  "_filesize": 648809,
  "_sha256": "c2bdbb34d87819203200d007b72552bcbb9a5afd2b563facccd2055ad5d462fe",
  "_expires": "2027-01-21T10:05:39.000Z",
  "_created": "2026-10-13T10:01:01.000Z",
  "_published": "2026-10-13T10:05:41.368Z",
  "_buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/38380085046",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115239428877,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11802344634"
    },
    {
      "job": 115239428919,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11802593585"
    },
    {
      "job": 115239428899,
      "time": 226,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11802579874"
    },
    {
      "job": 115239428864,
      "time": 196,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11803303190"
    },
    {
      "job": 115238183557,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11803450609"
    },
    {
      "job": 115239428707,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11803273233"
    },
    {
      "job": 115239429003,
      "time": 116,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11802723714"
    },
    {
      "job": 115239428845,
      "time": 120,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11802843213"
    },
    {
      "job": 115239428794,
      "time": 124,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11803137831"
    }
  ],
  "_upstream": "https://github.com/tilmandavies/sparr",
  "_commit": {
    "id": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
    "author": "Tilman Davies <tilman.davies@otago.ac.nz>",
    "committer": "Tilman Davies <tilman.davies@otago.ac.nz>",
    "message": "-fixing 'tol.classify'\n",
    "time": 1742430070
  },
  "_maintainer": {
    "name": "Tilman M. Davies",
    "email": "tilman.davies@otago.ac.nz",
    "login": "tilmandavies",
    "description": "",
    "uuid": 21017548
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10.1",
      "role": "Depends"
    },
    {
      "package": "spatstat",
      "version": ">= 2.3-0",
      "role": "Depends"
    },
    {
      "package": "spatstat.utils",
      "role": "Imports"
    },
    {
      "package": "spatstat.geom",
      "role": "Imports"
    },
    {
      "package": "spatstat.explore",
      "role": "Imports"
    },
    {
      "package": "spatstat.random",
      "role": "Imports"
    },
    {
      "package": "spatstat.univar",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "misc3d",
      "role": "Imports"
    },
    {
      "package": "fftwtools",
      "version": ">= 0.9.8",
      "role": "Suggests"
    }
  ],
  "_owner": "tilmandavies",
  "_selfowned": true,
  "_usedby": 8,
  "_updates": [],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "tilmandavies",
      "count": 3,
      "uuid": 21017548
    },
    {
      "user": "jmarshallnz",
      "count": 1,
      "uuid": 406571
    },
    {
      "user": "rubak",
      "count": 1,
      "uuid": 6704085
    }
  ],
  "_userbio": {
    "uuid": 21017548,
    "type": "user",
    "name": "tilmandavies",
    "followers": 2
  },
  "_downloads": {
    "count": 934,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparr"
  },
  "_mentions": 4,
  "_devurl": "https://github.com/tilmandavies/sparr",
  "_pkgdown": "https://tilmandavies.github.io/sparr/",
  "_searchresults": 115,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sparr.html"
  ],
  "_homeurl": "https://github.com/tilmandavies/sparr",
  "_realowner": "tilmandavies",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-7",
      "date": "2010-04-16"
    },
    {
      "version": "0.2-1",
      "date": "2010-07-24"
    },
    {
      "version": "0.2-2",
      "date": "2011-02-28"
    },
    {
      "version": "0.2-3",
      "date": "2011-09-20"
    },
    {
      "version": "0.3-0",
      "date": "2011-11-07"
    },
    {
      "version": "0.3-1",
      "date": "2011-12-13"
    },
    {
      "version": "0.3-2",
      "date": "2012-08-08"
    },
    {
      "version": "0.3-3",
      "date": "2013-10-08"
    },
    {
      "version": "0.3-4",
      "date": "2013-12-10"
    },
    {
      "version": "0.3-5",
      "date": "2014-05-30"
    },
    {
      "version": "0.3-6",
      "date": "2014-10-24"
    },
    {
      "version": "0.3-7",
      "date": "2015-09-17"
    },
    {
      "version": "0.3-8",
      "date": "2016-03-10"
    },
    {
      "version": "2.1-10",
      "date": "2017-07-17"
    },
    {
      "version": "2.1-11",
      "date": "2017-08-02"
    },
    {
      "version": "2.1-12",
      "date": "2017-08-27"
    },
    {
      "version": "2.1-13",
      "date": "2017-09-28"
    },
    {
      "version": "2.1-14",
      "date": "2017-11-13"
    },
    {
      "version": "2.2-1",
      "date": "2018-02-22"
    },
    {
      "version": "2.2-11",
      "date": "2018-03-10"
    },
    {
      "version": "2.2-12",
      "date": "2018-07-22"
    },
    {
      "version": "2.2-13",
      "date": "2018-09-16"
    },
    {
      "version": "2.2-15",
      "date": "2021-03-16"
    },
    {
      "version": "2.2-16",
      "date": "2022-02-21"
    },
    {
      "version": "2.2-17",
      "date": "2022-11-10"
    },
    {
      "version": "2.3-10",
      "date": "2023-03-09"
    },
    {
      "version": "2.3-15",
      "date": "2024-07-07"
    },
    {
      "version": "2.3-16",
      "date": "2025-03-22"
    }
  ],
  "_exports": [
    "available.h0",
    "bivariate.density",
    "BOOT.density",
    "BOOT.spattemp",
    "fft2d",
    "LIK.density",
    "LIK.spattemp",
    "LSCV.density",
    "LSCV.risk",
    "LSCV.spattemp",
    "multiscale.density",
    "multiscale.slice",
    "NS",
    "NS.spattemp",
    "OS",
    "OS.spattemp",
    "rimpoly",
    "risk",
    "SLIK.adapt",
    "spattemp.density",
    "spattemp.risk",
    "spattemp.slice",
    "tol.classify",
    "tol.classplot",
    "tol.contour",
    "tolerance"
  ],
  "_datasets": [
    {
      "name": "burk",
      "title": "Burkitt's lymphoma in Uganda",
      "object": "burk",
      "file": "burk.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "fmd",
      "title": "Veterinary foot-and-mouth disease outbreak data",
      "object": "fmd",
      "file": "fmd.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "pbc",
      "title": "Primary biliary cirrhosis data",
      "object": "pbc",
      "file": "pbc.rda",
      "class": [
        "ppp"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "sparr-package",
      "title": "The sparr Package: Spatial and Spatiotemporal Relative Risk",
      "topics": [
        "sparr-package",
        "sparr"
      ]
    },
    {
      "page": "available.h0",
      "title": "Available global bandwidth range",
      "topics": [
        "available.h0"
      ]
    },
    {
      "page": "bivariate.density",
      "title": "Bivariate kernel density/intensity estimation",
      "topics": [
        "bivariate.density",
        "bivden"
      ]
    },
    {
      "page": "BOOT.density",
      "title": "Bootstrap bandwidth for a spatial kernel density estimate",
      "topics": [
        "BOOT.density"
      ]
    },
    {
      "page": "BOOT.spattemp",
      "title": "Bootstrap bandwidths for a spatiotemporal kernel density estimate",
      "topics": [
        "BOOT.spattemp"
      ]
    },
    {
      "page": "burk",
      "title": "Burkitt's lymphoma in Uganda",
      "topics": [
        "burk"
      ]
    },
    {
      "page": "fft2d",
      "title": "2D fast-Fourier wrapper around 'fftwtools' or 'stats' package",
      "topics": [
        "fft2d"
      ]
    },
    {
      "page": "fmd",
      "title": "Veterinary foot-and-mouth disease outbreak data",
      "topics": [
        "fmd"
      ]
    },
    {
      "page": "CV",
      "title": "Cross-validation bandwidths for spatial kernel density estimates",
      "topics": [
        "LIK.density",
        "LSCV.density"
      ]
    },
    {
      "page": "LSCV.spattemp",
      "title": "Cross-validation bandwidths for spatiotemporal kernel density estimates",
      "topics": [
        "LIK.spattemp",
        "LSCV.spattemp"
      ]
    },
    {
      "page": "LSCV.risk",
      "title": "Jointly optimal bandwidth selection for the spatial relative risk function",
      "topics": [
        "LSCV.risk"
      ]
    },
    {
      "page": "multiscale.density",
      "title": "Multi-scale adaptive kernel density/intensity estimation",
      "topics": [
        "msden",
        "multiscale.density"
      ]
    },
    {
      "page": "multiscale.slice",
      "title": "Slicing a multi-scale density/intensity object",
      "topics": [
        "multiscale.slice"
      ]
    },
    {
      "page": "NS",
      "title": "Normal scale (NS) bandwidth selector",
      "topics": [
        "NS",
        "NS.spattemp"
      ]
    },
    {
      "page": "OS",
      "title": "Oversmoothing (OS) bandwidth selector",
      "topics": [
        "OS",
        "OS.spattemp"
      ]
    },
    {
      "page": "pbc",
      "title": "Primary biliary cirrhosis data",
      "topics": [
        "pbc"
      ]
    },
    {
      "page": "plotsparr",
      "title": "Plotting sparr objects",
      "topics": [
        "plot.bivden",
        "plot.msden",
        "plot.rrs",
        "plot.rrst",
        "plot.stden"
      ]
    },
    {
      "page": "printsparr",
      "title": "Printing sparr objects",
      "topics": [
        "print.bivden",
        "print.msden",
        "print.rrs",
        "print.rrst",
        "print.stden"
      ]
    },
    {
      "page": "rimpoly",
      "title": "Random point generation inside polygon",
      "topics": [
        "rimpoly"
      ]
    },
    {
      "page": "risk",
      "title": "Spatial relative risk/density ratio",
      "topics": [
        "risk",
        "rrs"
      ]
    },
    {
      "page": "SLIK.adapt",
      "title": "Simultaneous global/pilot likelihood bandwidth selection",
      "topics": [
        "SLIK.adapt"
      ]
    },
    {
      "page": "spattemp.density",
      "title": "Spatiotemporal kernel density estimation",
      "topics": [
        "spattemp.density",
        "stden"
      ]
    },
    {
      "page": "spattemp.risk",
      "title": "Spatiotemporal relative risk/density ratio",
      "topics": [
        "rrst",
        "spattemp.risk"
      ]
    },
    {
      "page": "spattemp.slice",
      "title": "Slicing a spatiotemporal object",
      "topics": [
        "spattemp.slice"
      ]
    },
    {
      "page": "summarysparr",
      "title": "Summarising sparr objects",
      "topics": [
        "summary.bivden",
        "summary.msden",
        "summary.rrs",
        "summary.rrst",
        "summary.stden"
      ]
    },
    {
      "page": "tol.classify",
      "title": "Classification by _p_-value surfaces",
      "topics": [
        "tol.classify"
      ]
    },
    {
      "page": "tol.classplot",
      "title": "Plot tolerance contour classification scheme",
      "topics": [
        "tol.classplot"
      ]
    },
    {
      "page": "tol.contour",
      "title": "Plot tolerance contours",
      "topics": [
        "tol.contour"
      ]
    },
    {
      "page": "tolerance",
      "title": "Tolerance by _p_-value surfaces",
      "topics": [
        "tolerance"
      ]
    }
  ],
  "_readme": "https://github.com/tilmandavies/sparr/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "codetools",
    "deldir",
    "doParallel",
    "foreach",
    "goftest",
    "iterators",
    "lattice",
    "Matrix",
    "mgcv",
    "misc3d",
    "nlme",
    "polyclip",
    "rpart",
    "spatstat",
    "spatstat.data",
    "spatstat.explore",
    "spatstat.geom",
    "spatstat.linnet",
    "spatstat.model",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "tensor"
  ],
  "_score": 6.997211582832505,
  "_indexed": true,
  "_nocasepkg": "sparr",
  "_universes": [
    "tilmandavies"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3-16",
      "date": "2026-10-13T10:02:55.000Z",
      "distro": "resolute",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "https://r2.ropensci.org/99ec063338f61171086538196f8690af7c955d68e0ba9a7d82a8d9e51cb8ce74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/38380085046"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.3-16",
      "date": "2026-10-13T10:02:54.000Z",
      "distro": "resolute",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "https://r2.ropensci.org/25f29f2f761b205efb379716dd556cf779c0c8bd7b2089d2bf644ef12e884a3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/38380085046"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3-16",
      "date": "2026-10-13T10:03:40.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "https://r2.ropensci.org/6a1ac68252017fe55f3938b0e7bfd656b40b65d91288554bd3d5546f86de5fc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/38380085046"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.3-16",
      "date": "2026-10-13T10:03:24.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "https://r2.ropensci.org/af4c3c4c3427fcb824b01651cea57ce8be65bab0f5aa1777c756eaf045d83ec1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/38380085046"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3-16",
      "date": "2026-10-13T10:03:02.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "https://r2.ropensci.org/eed63f1befa7c21853e25711989c91763ca9be51aa58ed6cfd8311e619bd8cb5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/38380085046"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3-16",
      "date": "2026-10-13T10:02:17.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "https://r2.ropensci.org/840f18bd18bbbd385ccac21976581687f9ba3c2ca7557add6a3f52f1541e5893",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/38380085046"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3-16",
      "date": "2026-10-13T10:02:42.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "https://r2.ropensci.org/5c2e4fc52aa9523d79d776fcd453281eefbeb5dca3fff32aeb405c7c54a4775a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/38380085046"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.3-16",
      "date": "2026-10-13T10:02:23.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "https://r2.ropensci.org/49485cf592cc07db5decaeed2abb37d304fe24fa51218bfb40fa36ce8d9087f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/38380085046"
    }
  ]
}