format_p: Format p values

format_pR Documentation

Format p values

Description

This function formats the p values in a table

Usage

format_p(df, cut = 0.05, p_names = "p", col_names = NA)

Arguments

df

A tibble or dataframe of the data

cut

A number of the significance cut off, default is 0.05

p_names

A character vector of the column names of p values, default is 'p'

col_names

A character vector of output table column names, default is NA, which uses original names

Value

A html table


JiyueQin/tidyreport documentation built on Nov. 24, 2024, 9:24 a.m.