Skip to contents

Helper: function to run a binary analysis using SPAtest

Usage

SPAtest_analysis(data, outcome, exposure, covariates = NULL)

Arguments

data

data frame

outcome

name of outcome variable

exposure

name of exposure variable

covariates

vector of covariate names

Value

list of results from model for the exposure