est_sig: Add significance asterisks to object

View source: R/results-table_results.R

est_sigR Documentation

Add significance asterisks to object

Description

Takes an object, and adds significance asterisks.

Usage

est_sig(x, digits = 2, sig = NULL)

Arguments

x

An object for which a method exists. This will be treated as numeric by the default method.

digits

Integer. The number of digits to round the estimate column to.

sig

Optional, a vector of p-values for the default method.

Value

A character vector of formatted estimates.

Author(s)

Caspar J. van Lissa

See Also

table_results

Other Reporting tools: conf_int(), table_fit(), table_prob(), table_results()

Examples

est_sig(c(.222, .3333), sig = c(.054, .045))

tidySEM documentation built on Oct. 25, 2023, 1:06 a.m.