risk: Risk

Usage Arguments Examples

Usage

1
risk(disease, population, precision, alpha = 0.05, ...)

Arguments

disease
population
precision
alpha
...

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (disease, population, precision, alpha = 0.05, ...) {
data.frame.a<-prevalence(disease, population, precision, alpha)
names(data.frame.a)[1]<-"#event"
names(data.frame.a)[2]<-"Pop.at.risk"
names(data.frame.a)[3]<-"risk"
data.frame.a
  }

gvdovandzung/thongke documentation built on May 23, 2020, 12:35 a.m.