nf_pvalue: Calculate the p-value for a column stratified by an outcome

View source: R/nf_pvalue.R

nf_pvalueR Documentation

Calculate the p-value for a column stratified by an outcome

Description

Calculate a table 1-style p-value for both continuous and categorical outcomes

Usage

nf_pvalue(column, outcome, df)

Arguments

column

Name of the column to calculate a p-value for

outcome

Outcome to stratify column by

Value

A cleanly formatted p-value


nickfong/nftools documentation built on Sept. 25, 2022, 2:03 p.m.