chi.confounder.net: Confounder Chi-net

Description Usage Arguments

Description

Function to graphically display chi2 test results to ID confounders. Requires a data frame with outcome and exposures such as the one provided by the chi.2.eksp function. Returns a list of network objects in pdf

Usage

1
2
chi.confounder.net(df, outcome = "outcome", exposure = "exposure",
  outdir = "graphs/", stoor = TRUE, remPiq = FALSE)

Arguments

df

Data frame containing outcomes and exposures

outcome

Character vector referring to the name of the outcome column

exposure

Character vector referring to the name of the exposure column

outdir

Character vector containing to output directory

stoor

Logical that stores the file as pdf when TRUE

Logical

that removes "Piqola_" from outcomes and exposures when TRUE


Boshoffsmit/novaReport documentation built on May 6, 2019, 8 a.m.