Arguments
type1
vector of covariate values for first probability estimate
type2
vector of covariate value for second probability estmate
type1.zero
vector of logical indicators for type1 covariates to be set to zero
type2.zero
vector of logical indicators for type2 covariates to be set to zero
fit
glm object for logistic regression
data
data frame on which the fit
was based
sig
numeric number of significant digits for reported estimate
alpha
numeric value to specify the 100(1-alpha)% confidence interval for the risk difference