dif | R Documentation |
Raju & Mantel-Haenszel method
dif(
data,
vars,
group,
raju = FALSE,
mh = FALSE,
padjust = "BH",
padjust1 = "BH",
zplot = FALSE,
plot3 = FALSE,
plot1 = FALSE,
gmh = FALSE,
fn = "2,3,4",
plot2 = FALSE,
padjust2 = "BH",
width1 = 500,
height1 = 500,
width2 = 500,
height2 = 500,
width3 = 500,
height3 = 500,
width4 = 500,
height4 = 500,
num = 1
)
data |
The data as a data frame. |
vars |
. |
group |
A string naming the grouping variable from |
raju |
. |
mh |
. |
padjust |
. |
padjust1 |
. |
zplot |
. |
plot3 |
. |
plot1 |
. |
gmh |
. |
fn |
. |
plot2 |
. |
padjust2 |
. |
width1 |
. |
height1 |
. |
width2 |
. |
height2 |
. |
width3 |
. |
height3 |
. |
width4 |
. |
height4 |
. |
num |
. |
A results object containing:
results$instructions | a html | ||||
results$text | a preformatted | ||||
results$raju | a table | ||||
results$mh | a table | ||||
results$zplot | an image | ||||
results$plot1 | an image | ||||
results$gmh | a table | ||||
results$plot2 | an image | ||||
results$plot3 | an image | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$raju$asDF
as.data.frame(results$raju)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.