round.pval: Rounded p-values to a number of digits

View source: R/util.R

round.pvalR Documentation

Rounded p-values to a number of digits

Description

Removes elements from a data table previously setting based on dependent variables

Usage

## S3 method for class 'pval'
round(tbl, digits = 3, min = 0.001, cnames = c("p", "p.adj"))

Arguments

tbl

a data.frame or data table with p-values to be rounded

digits

number of digits for the p-values

min

minimal value to be displayed as number

cnames

a vector containing the columns names in which the p-values are displayed

Value

A data.frame with the p-values rounded


geiser/rshinystatistics documentation built on Feb. 18, 2024, 6:07 p.m.