Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UMR-ASTRE
mapMCDA
Commits
bf164721
Commit
bf164721
authored
Apr 24, 2019
by
Facundo Muñoz
®️
Browse files
Remove UTF-8 from epidemic_threshold()'s documentation
- Caused errors installing in some locales (bug report Javad)
parent
9ba27bd6
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
bf164721
Package: mapMCDA
Title: Produce an epidemiological risk map by weighting multiple risk
factors
Version: 0.4.
8
Date: 2019-04-
1
2
Version: 0.4.
9
Date: 2019-04-2
4
Authors@R: c( person("Andrea", "Apolloni", email =
"andrea.apolloni@cirad.fr", role = c("ctb"), comment = "Animal
mobility algorithm"), person("Elena", "Arsevska", email =
...
...
R/network.R
View file @
bf164721
...
...
@@ -274,15 +274,15 @@ setMethod(
#' network. It is computed as the inverse of the \emph{Potential for
#' transmission} of the network: a measure of the expected number of
#' nodes affected by an infectious node, which is a generalisation of
#' the Basic Reproduction Number \eqn{R_0}
{R₀}
of an epidemy to the
#' the Basic Reproduction Number \eqn{R_0} of an epidemy to the
#' context of a network. It thus quantifies the potential for
#' transmission of an infection throughout the contact network. It is
#' computed in terms of the incoming-outgoing rates from the network's
#' nodes: \deqn{R_0 = \beta \frac{\hat{k_\mathrm{in}
#' k_\mathrm{out}}}{\hat{k_\mathrm{in}}},}{R
₀
= \beta
〈
k_in*k_out
〉/〈
k_in
〉
,}
#' k_\mathrm{out}}}{\hat{k_\mathrm{in}}},}{R
_0
= \beta
<
k_in*k_out
>/<
k_in
>
,}
#' where \eqn{\beta} is the transmission coefficient among animals,
#' \eqn{k_\mathrm{in/out}}{k_in/out} are the in/out-degrees of a node
#' and the \eqn{
\hat{\cdot}}{〈·〉
} symbol represents the average value
#' and the \eqn{
<·>
} symbol represents the average value
#' across all nodes in the graph.
#'
#' The unweighted value computed above is most appropriate for a
...
...
@@ -303,7 +303,7 @@ setMethod(
#' @param beta numeric, between 0 and 1. Probability of transmission.
#'
#' @return a list the weighted and unweighted Potential for
#' Transmission \eqn{R_0}
{R₀}
and its inverse, the Epidemic
#' Transmission \eqn{R_0} and its inverse, the Epidemic
#' Threshold \eqn{q}. As an attribute named "sna", a data.frame with
#' the in/out-degrees of each node and their individual contribution
#' to R0.
...
...
man/epidemic_threshold.Rd
View file @
bf164721
...
...
@@ -13,7 +13,7 @@ epidemic_threshold(x, beta = 1)
}
\value{
a list the weighted and unweighted Potential for
Transmission \eqn{R_0}
{R₀}
and its inverse, the Epidemic
Transmission \eqn{R_0} and its inverse, the Epidemic
Threshold \eqn{q}. As an attribute named "sna", a data.frame with
the in/out-degrees of each node and their individual contribution
to R0.
...
...
@@ -29,15 +29,15 @@ transmission coefficient necessary for diffusing an epidemy in a
network. It is computed as the inverse of the \emph{Potential for
transmission} of the network: a measure of the expected number of
nodes affected by an infectious node, which is a generalisation of
the Basic Reproduction Number \eqn{R_0}
{R₀}
of an epidemy to the
the Basic Reproduction Number \eqn{R_0} of an epidemy to the
context of a network. It thus quantifies the potential for
transmission of an infection throughout the contact network. It is
computed in terms of the incoming-outgoing rates from the network's
nodes: \deqn{R_0 = \beta \frac{\hat{k_\mathrm{in}
k_\mathrm{out}}}{\hat{k_\mathrm{in}}},}{R
₀
= \beta
〈
k_in*k_out
〉/〈
k_in
〉
,}
k_\mathrm{out}}}{\hat{k_\mathrm{in}}},}{R
_0
= \beta
<
k_in*k_out
>/<
k_in
>
,}
where \eqn{\beta} is the transmission coefficient among animals,
\eqn{k_\mathrm{in/out}}{k_in/out} are the in/out-degrees of a node
and the \eqn{
\hat{\cdot}}{〈·〉
} symbol represents the average value
and the \eqn{
<·>
} symbol represents the average value
across all nodes in the graph.
The unweighted value computed above is most appropriate for a
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment