risk.exposure.plot {blm}R Documentation

Risk-exposure scatter plot

Description

Calculates the weighted average crude risk against the average exposure level for a continuous exposure. Each point corresponds to overlapping subgroups of 20 percent of the sample ordered from lowest to highest exposure and a sliding window of 1

Usage

risk.exposure.plot(object, scale=1,...)

Arguments

object

list or data.frame with risk and x covariate. Return object of crude.risk

scale

multiplicative factor to modify scale of crude risk estimates

...

additional arguments passed to scatter.smooth

Details

The risk-exposure scatter plot is intended to explore the possible functional relationship between risk and exposure.

Author(s)

S. Kovalchik s.a.kovalchik@gmail.com

Examples


data(aarp)

risk <- crude.risk(bladder70~redmeat,
		  weights = aarp$w,
		  data = aarp)

risk.exposure.plot(risk,
		   xlab = "Avg. Red Meat Consumption")


[Package blm version 2022.0.0.1 Index]