RR.table.max: See which group and risk indicator (in zone) have max values...

View source: R/RR.table.max.R

RR.table.maxR Documentation

See which group and risk indicator (in zone) have max values in RR table

Description

See which Demographic group has highest RR for each Envt risk indicator, and which Envt risk indicator has highest RR for each Demographic group, within each zone (USA, etc.), in table of Relative Risk results by zone by group by envt risk factor.

Usage

RR.table.max(x, by = 1, digits = 3)

Arguments

x

Array results from RR.table() or related function

by

optional vector (numeric or character), specifies which of three dimensions should be shown. Default is 1, meaning dimension 1 which is demographic indicator.

digits

optional number of digits to round to, default is 3.

Value

The full x array, except only the first two elements of the specified dimension, which should be the two elements with the max number and text saying which name is that max.

See Also

RR()


ejanalysis/ejanalysis documentation built on April 2, 2024, 10:12 a.m.