risk_ratio Calculates the risk ratio and standard error.
risk_ratio(y, x, formula, data)0-1 binary response variable.
0-1 binary independent variable.
A formula object to specify the model as normally used by glm.
An objects of class milist, created by
df2milist, list2milist or mids2milist.
The risk ratio, related standard error and complete data degrees of freedom (dfcom) as n-2.
Note that the standard error of the RR is in fact the standard error of the (natural) risk ratio.