Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add offset to DB and Marziano et al. Mpox parameters #24

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------

cff-version: 1.2.0
message: 'To cite package "epiparameterDB" in publications use:'
type: software
license: CC0-1.0
title: 'epiparameterDB: Database of Epidemiological Parameters'
version: 0.1.0
version: 0.1.0.9000
doi: 10.32614/CRAN.package.epiparameterDB
abstract: A data package containing a database of epidemiological parameters. It stores
the data for the 'epiparameter' R package. Epidemiological parameter estimates are
Expand Down
Binary file modified data/epiparameterDB.rda
Binary file not shown.
7 changes: 6 additions & 1 deletion inst/extdata/data_dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,14 @@
"type": ["number", "null"]
}
}
},
"offset": {
"description": "A number to shift the probability distribution left or right on the x-axis. If no offset is reported put the default value of 0.",
"examples": [0, 5],
"type": "number"
}
},
"required": ["prob_distribution"],
"required": ["prob_distribution", "parameters", "offset"],
"if": {
"properties": {
"prob_distribution": { "const": "norm" }
Expand Down
Loading
Loading