table1.pvalues: calculate p-values in table1 objects

View source: R/table1.pvalues.R

table1.pvaluesR Documentation

calculate p-values in table1 objects

Description

Inspired by the table1 vignette itself (https://cran.r-project.org/web/packages/table1/vignettes/table1-examples.html#example-a-column-of-p-values), only to have it quick every time I want a table1 significance

Usage

table1.pvalues(x, ...)

Arguments

x

a table in the 'table1' set

...

extra parameters. so far, none implemented, that I know

Value

a 'table1' object

Examples


data(mtcars)
table1::table1( ~ vs + gear + carb |as.factor(cyl), 
  data  = mtcars,
  extra.col = list("significance" = table1.pvalues),
  overall = "All cars"
  )
  

g-antonello/gautils documentation built on May 3, 2024, 10:51 a.m.