slice_to_box: Slice to box

Description Usage Arguments See Also Examples

View source: R/slice_to_box.R

Description

Converts Q1/Q2/Q3 format of quantiles (as generated by summaryM) to Q2 [Q1, Q3] format.

Usage

1

Arguments

x

A character vector.

See Also

summaryM_to_df

Examples

1
2
3
4
5
6
7
8
9
require(Hmisc)
require(knitr)
getHdata(pbc)
tbl1_formula <- bili + albumin + stage + protime + sex + age + spiders ~ drug
tbl1_formula %>% 
  summaryM(data=pbc) %>% 
  summaryM_to_df(html_space = FALSE, digits = 3) %>% 
  sapply(slice_to_box) %>% 
  kable

thomasgstewart/tgsify documentation built on June 18, 2020, 11:10 a.m.