fishers: Function to obtain a Fisher's exact table

View source: R/fishers.R

fishersR Documentation

Function to obtain a Fisher's exact table

Description

Function to obtain a Fisher's exact table

Usage

fishers(
  data,
  x,
  y,
  offset = 0.01,
  outcome = "figure",
  pal = c("orchid3", "seagreen3")
)

Arguments

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


jpablo91/Pabloverse documentation built on April 11, 2024, 2:54 p.m.