ssm_append: Combine SSM tables

Description Usage Arguments Value See Also Examples

View source: R/ssm_visualization.R

Description

Combine SSM tables by appending them as rows.

Usage

1
ssm_append(.ssm_table, ..., caption = NULL, render = TRUE)

Arguments

.ssm_table

A data frame from the ssm_table() function to be the first row(s) of the combined table.

...

One or more additional data frames from the ssm_table() function to be appended to .ssm_table in the order of input.

caption

A string to be displayed above the table if rendered.

render

A logical indicating whether the table should be displayed in the RStudio viewer or web browser (default = TRUE).

Value

A tibble containing the information for the HTML table. As a side-effect, may also output the HTML table to the web viewer.

See Also

Other ssm functions: ssm_analyze, ssm_plot, ssm_table

Other table functions: html_render, ssm_table

Examples

1
2
3
4
5
6
data("jz2017")
res1 <- ssm_analyze(jz2017, PA:NO, octants())
res2 <- ssm_analyze(jz2017, PA:NO, octants(), grouping = Gender)
tab1 <- ssm_table(res1, render = FALSE)
tab2 <- ssm_table(res2, render = FALSE)
ssm_append(tab1, tab2)

jmgirard/ssm documentation built on Nov. 4, 2018, 8:40 p.m.