fishers | R Documentation |
Function to obtain a Fisher's exact table
fishers(
data,
x,
y,
offset = 0.01,
outcome = "figure",
pal = c("orchid3", "seagreen3")
)
data |
The name of the data frame |
x |
Name of variable |
y |
Name of respose variable |
offset |
spacing between the mosaic in the figure |
outcome |
Type of outcome to return, options are 'figure' and 'table' |
pal |
color palette for the figure. Must provide two or more colors, function automatically interpolates between colors if number of colors provided less than levels of y variable |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.