{
  "_id": "6a1018c8acfb0bcc41c85b1c",
  "Package": "RSurveillance",
  "Type": "Package",
  "Title": "Design and Analysis of Disease Surveillance Activities",
  "Version": "0.2.1",
  "Date": "2020-06-23",
  "Author": "Evan Sergeant",
  "Maintainer": "Rohan Sadler <rohan.sadler@ausvet.com.au>",
  "Description": "A range of functions for the design and analysis of\ndisease surveillance activities. These functions were\noriginally developed for animal health surveillance activities\nbut can be equally applied to aquatic animal, wildlife, plant\nand human health surveillance activities. Utilities are\nincluded for sample size calculation and analysis of\nrepresentative surveys for disease freedom, risk-based studies\nfor disease freedom and for prevalence estimation. This package\nis based on Cameron A., Conraths F., Frohlich A., Schauer B.,\nSchulz K., Sergeant E., Sonnenburg J., Staubach C. (2015). R\npackage of functions for risk-based surveillance. Deliverable\n6.24, WP 6 - Decision making tools for implementing risk-based\nsurveillance, Grant Number no. 310806, RISKSUR\n(<https://www.fp7-risksur.eu/sites/default/files/documents/Deliverables/RISKSUR_%28310806%29_D6.24.pdf>).\nMany of the 'RSurveillance' functions are incorporated into the\n'epitools' website: Sergeant, ESG, 2019. Epitools\nepidemiological calculators. Ausvet Pty Ltd. Available at:\n<http://epitools.ausvet.com.au>.",
  "License": "GPL-2 | GPL-3",
  "LazyLoad": "yes",
  "URL": "https://github.com/roStats/RSurveillance",
  "Collate": "'adj_risk_sim.R' 'freedom_functions_1.R'\n'freedom_functions_2.R' 'n_rb2stage.R' 'prevalence_functions.R'\n'risk_based_functions.R' 'sep_passive.R' 'sse_rb2stage.R'",
  "RoxygenNote": "6.1.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 19:42:20 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "libabsl-dev libcairo2-dev cmake libfontconfig1-dev\nlibfreetype6-dev libfribidi-dev libgdal-dev gdal-bin\nlibgeos-dev make libharfbuzz-dev libicu-dev libjpeg-dev\nlibpng-dev libtiff-dev libuv1-dev libwebp-dev libxml2-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-05-14 13:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/RSurveillance",
  "RemoteSha": "1c828af84fd5a7d96df37c4324b7120499e8b1cc",
  "RemoteSubdir": "RSurveillance",
  "MD5sum": "73ec6110f0b671c647ad775b976aaf63",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "RSurveillance_0.2.1.tar.gz",
  "_fileid": "ad9942cdf6494f4dc8335698f6f774fbce42c1d6979a9b5a942c9c311a5c795e",
  "_filesize": 226943,
  "_sha256": "ad9942cdf6494f4dc8335698f6f774fbce42c1d6979a9b5a942c9c311a5c795e",
  "_created": "2026-05-14T19:42:20.000Z",
  "_published": "2026-05-22T08:50:16.306Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77346830679,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7003269501"
    },
    {
      "job": 77346830785,
      "time": 213,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7003290628"
    },
    {
      "job": 77346830896,
      "time": 133,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7003478875"
    },
    {
      "job": 77346830999,
      "time": 92,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7003462215"
    },
    {
      "job": 77346830541,
      "time": 253,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7003218833"
    },
    {
      "job": 77346830422,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156543101"
    },
    {
      "job": 77346831185,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7003250713"
    },
    {
      "job": 77346831405,
      "time": 81,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7003245996"
    },
    {
      "job": 77346831161,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7003251622"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881354777",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "1c828af84fd5a7d96df37c4324b7120499e8b1cc",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add RSurveillance to CRANhaven, because archived on 2026-05-14 13:02:00 +0000\n",
    "time": 1778763720
  },
  "_maintainer": {
    "name": "Rohan Sadler",
    "email": "rohan.sadler@ausvet.com.au",
    "login": "rostats",
    "uuid": 44462466
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "epitools",
      "role": "Imports"
    },
    {
      "package": "epiR",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "mc2d",
      "role": "Imports"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 195,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RSurveillance"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/rostats/rsurveillance",
  "_searchresults": 66,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/RSurveillance.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rostats/rsurveillance",
  "_realowner": "rostats",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2014-12-08"
    },
    {
      "version": "0.2.0",
      "date": "2016-10-07"
    },
    {
      "version": "0.2.1",
      "date": "2020-06-30"
    }
  ],
  "_exports": [
    "adj.risk",
    "adj.risk.sim",
    "ap",
    "binom.agresti",
    "binom.cp",
    "binom.jeffreys",
    "disc.prior",
    "epi.calc",
    "n.2stage",
    "n.ap",
    "n.binom",
    "n.c.freecalc",
    "n.c.hp",
    "n.freecalc",
    "n.freedom",
    "n.hp",
    "n.hypergeo",
    "n.pfree",
    "n.pooled",
    "n.rb",
    "n.rb.2stage.1",
    "n.rb.2stage.2",
    "n.rb.varse",
    "n.tp",
    "pfree.1",
    "pfree.calc",
    "pfree.equ",
    "pstar.calc",
    "se.parallel",
    "se.series",
    "sep",
    "sep.binom",
    "sep.binom.imperfect",
    "sep.exact",
    "sep.freecalc",
    "sep.hp",
    "sep.hypergeo",
    "sep.passive",
    "sep.pfree",
    "sep.pooled",
    "sep.prior",
    "sep.rb.bin",
    "sep.rb.bin.varse",
    "sep.rb.hypergeo",
    "sep.rb.hypergeo.varse",
    "sep.rb2.binom",
    "sep.rb2.hypergeo",
    "sep.sys",
    "sep.var.se",
    "sp.parallel",
    "sp.series",
    "sph.binom",
    "sph.hp",
    "spp",
    "sse.combined",
    "sse.rb.2stage",
    "tp",
    "tp.normal"
  ],
  "_help": [
    {
      "page": "adj.risk",
      "title": "Adjusted risk",
      "topics": [
        "adj.risk"
      ]
    },
    {
      "page": "adj.risk.sim",
      "title": "Adjusted risk for simulation models",
      "topics": [
        "adj.risk.sim"
      ]
    },
    {
      "page": "ap",
      "title": "Apparent prevalence",
      "topics": [
        "ap"
      ]
    },
    {
      "page": "binom.agresti",
      "title": "Agresti-Coull confidence limits",
      "topics": [
        "binom.agresti"
      ]
    },
    {
      "page": "binom.cp",
      "title": "Clopper-Pearson exact confidence limits",
      "topics": [
        "binom.cp"
      ]
    },
    {
      "page": "binom.jeffreys",
      "title": "Jeffreys confidence limits",
      "topics": [
        "binom.jeffreys"
      ]
    },
    {
      "page": "disc.prior",
      "title": "Discounted prior probability of freedom",
      "topics": [
        "disc.prior"
      ]
    },
    {
      "page": "epi.calc",
      "title": "Effective probability of infection (EPI)",
      "topics": [
        "epi.calc"
      ]
    },
    {
      "page": "n.2stage",
      "title": "2-stage freedom sample size",
      "topics": [
        "n.2stage"
      ]
    },
    {
      "page": "n.ap",
      "title": "Sample size for apparent prevalence",
      "topics": [
        "n.ap"
      ]
    },
    {
      "page": "n.binom",
      "title": "Binomial sample size",
      "topics": [
        "n.binom"
      ]
    },
    {
      "page": "n.c.freecalc",
      "title": "Freecalc optimum sample size and cut-point number of positives",
      "topics": [
        "n.c.freecalc"
      ]
    },
    {
      "page": "n.c.hp",
      "title": "Hypergeometric (HerdPlus) optimum sample size and cut-point number of positives",
      "topics": [
        "n.c.hp"
      ]
    },
    {
      "page": "n.freecalc",
      "title": "Freecalc sample size for a finite population and specified cut-point number of positives",
      "topics": [
        "n.freecalc"
      ]
    },
    {
      "page": "n.freedom",
      "title": "Freedom sample size",
      "topics": [
        "n.freedom"
      ]
    },
    {
      "page": "n.hp",
      "title": "Hypergeometric (HerdPlus) sample size for finite population and specified cut-point number of positives",
      "topics": [
        "n.hp"
      ]
    },
    {
      "page": "n.hypergeo",
      "title": "Hypergeometric sample size",
      "topics": [
        "n.hypergeo"
      ]
    },
    {
      "page": "n.pfree",
      "title": "Sample size to achieve desired (posterior) probability of freedom",
      "topics": [
        "n.pfree"
      ]
    },
    {
      "page": "n.pooled",
      "title": "Sample size for pooled testing for freedom",
      "topics": [
        "n.pooled"
      ]
    },
    {
      "page": "n.rb",
      "title": "Risk-based sample size",
      "topics": [
        "n.rb"
      ]
    },
    {
      "page": "n.rb.2stage.1",
      "title": "sample size for 2-stage risk-based surveillance, risk factor at cluster level only",
      "topics": [
        "n.rb.2stage.1"
      ]
    },
    {
      "page": "n.rb.2stage.2",
      "title": "Sample size for 2-stage risk-based surveillance, allowing for risk factors at either or both cluster and unit level",
      "topics": [
        "n.rb.2stage.2"
      ]
    },
    {
      "page": "n.rb.varse",
      "title": "Risk-based sample size for varying unit sensitivity",
      "topics": [
        "n.rb.varse"
      ]
    },
    {
      "page": "n.tp",
      "title": "Sample size for true prevalence",
      "topics": [
        "n.tp"
      ]
    },
    {
      "page": "pfree.1",
      "title": "Probability of freedom for single time period",
      "topics": [
        "pfree.1"
      ]
    },
    {
      "page": "pfree.calc",
      "title": "Probability of freedom over time",
      "topics": [
        "pfree.calc"
      ]
    },
    {
      "page": "pfree.equ",
      "title": "Equilibrium probability of freedom",
      "topics": [
        "pfree.equ"
      ]
    },
    {
      "page": "pstar.calc",
      "title": "Design prevalence back-calculation",
      "topics": [
        "pstar.calc"
      ]
    },
    {
      "page": "se.parallel",
      "title": "Sensitivity of tests in parallel",
      "topics": [
        "se.parallel"
      ]
    },
    {
      "page": "se.series",
      "title": "Sensitivity of tests in series",
      "topics": [
        "se.series"
      ]
    },
    {
      "page": "sep",
      "title": "Population sensitivity",
      "topics": [
        "sep"
      ]
    },
    {
      "page": "sep.binom",
      "title": "Binomial Population sensitivity",
      "topics": [
        "sep.binom"
      ]
    },
    {
      "page": "sep.binom.imperfect",
      "title": "Binomial population sensitivity for imperfect test",
      "topics": [
        "sep.binom.imperfect"
      ]
    },
    {
      "page": "sep.exact",
      "title": "Population sensitivity for census (all units tested)",
      "topics": [
        "sep.exact"
      ]
    },
    {
      "page": "sep.freecalc",
      "title": "FreeCalc population sensitivity for imperfect test",
      "topics": [
        "sep.freecalc"
      ]
    },
    {
      "page": "sep.hp",
      "title": "Hypergeometric (HerdPlus) population sensitivity for imperfect test",
      "topics": [
        "sep.hp"
      ]
    },
    {
      "page": "sep.hypergeo",
      "title": "Hypergeometric Population sensitivity",
      "topics": [
        "sep.hypergeo"
      ]
    },
    {
      "page": "sep.passive",
      "title": "Passive surveillance sensitivity",
      "topics": [
        "sep.passive"
      ]
    },
    {
      "page": "sep.pfree",
      "title": "Population sensitivity to achieve desired (posterior) probability of freedom",
      "topics": [
        "sep.pfree"
      ]
    },
    {
      "page": "sep.pooled",
      "title": "Pooled population sensitivity",
      "topics": [
        "sep.pooled"
      ]
    },
    {
      "page": "sep.prior",
      "title": "Population sensitivity to achieve desired prior probability of freedom",
      "topics": [
        "sep.prior"
      ]
    },
    {
      "page": "sep.rb.bin",
      "title": "Binomial risk-based population sensitivity",
      "topics": [
        "sep.rb.bin"
      ]
    },
    {
      "page": "sep.rb.bin.varse",
      "title": "Binomial risk-based population sensitivity for varying unit sensitivity",
      "topics": [
        "sep.rb.bin.varse"
      ]
    },
    {
      "page": "sep.rb.hypergeo",
      "title": "Hypergeometric risk-based population sensitivity",
      "topics": [
        "sep.rb.hypergeo"
      ]
    },
    {
      "page": "sep.rb.hypergeo.varse",
      "title": "Hypergeometric risk-based population sensitivity for varying unit sensitivity",
      "topics": [
        "sep.rb.hypergeo.varse"
      ]
    },
    {
      "page": "sep.rb2.binom",
      "title": "Binomial risk-based population sensitivity for 2 risk factors",
      "topics": [
        "sep.rb2.binom"
      ]
    },
    {
      "page": "sep.rb2.hypergeo",
      "title": "Hypergeometric risk-based population sensitivity for 2 risk factors",
      "topics": [
        "sep.rb2.hypergeo"
      ]
    },
    {
      "page": "sep.sys",
      "title": "2-stage population sensitivity",
      "topics": [
        "sep.sys"
      ]
    },
    {
      "page": "sep.var.se",
      "title": "Population sensitivity for varying unit sensitivity",
      "topics": [
        "sep.var.se"
      ]
    },
    {
      "page": "sp.parallel",
      "title": "Specificity of tests in parallel",
      "topics": [
        "sp.parallel"
      ]
    },
    {
      "page": "sp.series",
      "title": "Specficity of tests in series",
      "topics": [
        "sp.series"
      ]
    },
    {
      "page": "sph.binom",
      "title": "Binomial population specificity for imperfect test",
      "topics": [
        "sph.binom"
      ]
    },
    {
      "page": "sph.hp",
      "title": "Hypergeometric population specificity calculation",
      "topics": [
        "sph.hp"
      ]
    },
    {
      "page": "spp",
      "title": "Population specificity",
      "topics": [
        "spp"
      ]
    },
    {
      "page": "sse.combined",
      "title": "System sensitivity by combining multiple surveillance components",
      "topics": [
        "sse.combined"
      ]
    },
    {
      "page": "sse.rb.2stage",
      "title": "Two-stage risk-based system sensitivity",
      "topics": [
        "sse.rb.2stage"
      ]
    },
    {
      "page": "tp",
      "title": "True prevalence",
      "topics": [
        "tp"
      ]
    },
    {
      "page": "tp.normal",
      "title": "Normal approximation confidence limits for true prevalence",
      "topics": [
        "tp.normal"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "askpass",
    "backports",
    "base64enc",
    "BiasedUrn",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "class",
    "classInt",
    "cli",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "data.table",
    "DBI",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "e1071",
    "epiR",
    "epitools",
    "evaluate",
    "farver",
    "fastmap",
    "flextable",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "gdtools",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "htmltools",
    "isoband",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mc2d",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "officer",
    "openssl",
    "pander",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "polynom",
    "proxy",
    "purrr",
    "quantreg",
    "R6",
    "ragg",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rstatix",
    "s2",
    "S7",
    "sass",
    "scales",
    "sf",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "systemfonts",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tinytex",
    "units",
    "urca",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "xfun",
    "xml2",
    "yaml",
    "zip",
    "zoo"
  ],
  "_score": 2.99563519459755,
  "_indexed": false,
  "_nocasepkg": "rsurveillance",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://rostats.r-universe.dev/RSurveillance",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-14T19:44:54.000Z",
      "distro": "noble",
      "commit": "1c828af84fd5a7d96df37c4324b7120499e8b1cc",
      "fileid": "606f61262315a356c9d4eeb7f03c6951a5b1a4e47f8ccf3bf16fe8497f1cb1c9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881354777"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-14T19:46:00.000Z",
      "distro": "noble",
      "commit": "1c828af84fd5a7d96df37c4324b7120499e8b1cc",
      "fileid": "611705ac47918dcfab2859c6cd558f9447050369762715a5de798fffb0e9b5f8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881354777"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-14T19:55:41.000Z",
      "commit": "1c828af84fd5a7d96df37c4324b7120499e8b1cc",
      "fileid": "6998568ba032d0699e67baae124af5659b811c4e046a6f86384a8387cc0365bc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881354777"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-14T19:54:55.000Z",
      "commit": "1c828af84fd5a7d96df37c4324b7120499e8b1cc",
      "fileid": "183842de1741dc22eb12a55a5959bf3346b87dffc1b4c6dfe85d45bc19ac73b9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881354777"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-14T19:43:50.000Z",
      "commit": "1c828af84fd5a7d96df37c4324b7120499e8b1cc",
      "fileid": "79f5b8a4d48994792b08f8936f48166795ff260bc0c10a25a88d8b5b9c350da6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881354777"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-14T19:43:34.000Z",
      "commit": "1c828af84fd5a7d96df37c4324b7120499e8b1cc",
      "fileid": "51b96074df8bd9e3918756fba4db57ed086b92ba8af78b530651d2bfc394706b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881354777"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-14T19:43:51.000Z",
      "commit": "1c828af84fd5a7d96df37c4324b7120499e8b1cc",
      "fileid": "2897f650889d117f273cc5c56093ca3583d358d7bccfcc713dcd1f01783aefd5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881354777"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-05-22T08:50:00.000Z",
      "commit": "1c828af84fd5a7d96df37c4324b7120499e8b1cc",
      "fileid": "1950b02864e243f2ba469ac9837655536c749dea15674052336e634e719bccfd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881354777"
    }
  ]
}