contents
arguments to the
function stat.table
. They are defined internally in
stat.table
and have no independent existence.count(id)
ratio(d,y,scale=1, na.rm=TRUE)
percent(...)
d
for Deaths,
y
for person-Years)NA
values should
be stripped before computation proceeds.index
argument
to stat.table
contents
argument to stat.table
, these
functions create the following tables:
count
count()
) it
returns a contingency table of counts. If given an id
argument it returns a table of the number of different values of
id
in each cell, i.e. how many persons contribute in each
cell.}ratio
scale * sum(d)/sum(y)
percent
index
argument to stat.table
but not in the call to
percent
are used to define strata, within which the
percentages add up to 100.stat.table