parametric_row: Row for parametric data

View source: R/row-functions.R

parametric_rowR Documentation

Row for parametric data

Description

Row for parametric data

Usage

parametric_row(
  data_item,
  data = NULL,
  data_filter = NULL,
  row_digits = NULL,
  row_digits_sd = NULL,
  na.rm = TRUE,
  trans = NULL,
  atrans = NULL
)

Arguments

data_item

item to be taken from data for row

data

separate dataset to use

data_filter

filter to apply to dataset

row_digits

digits for data item (overrides table as a whole)

row_digits_sd

digits for standard deviation (defaults to the same as row_digits if set, otherwise defaults to what is set in table options)

na.rm

whether to remove NA before reporting means and standard deviations

trans

function to apply to data prior to generating means, standard deviations and p values

atrans

inverse function to apply to data after generating means, standard deviations and p values

Examples

first_table(
  mtcars,
  .column_variable = am,
  parametric_row(disp, row_digits = 2)
)

NikNakk/tableone documentation built on March 22, 2022, 1:19 p.m.