Learn R Programming

tangram (version 0.8.2)

summary.tangram: The default method for rendering tangram objects

Description

A tangram is a summary, so it returns itself. Otherwise convert to a text representation.

Usage

# S3 method for tangram
summary(object, ...)

# S3 method for cell summary(object, ...)

Value

the text summary

Arguments

object

object; the item to render

...

additional arguments passed to summary

Examples

Run this code
summary(cell_label("123"))
summary(hmisc_iqr(rnorm(20)))
summary(hmisc_fraction(45, 137))
summary(tangram(1,1)   %>%
        row_header("row") %>%
        col_header(1,2,3) %>%
        add_col("A","B","C"))
summary(tangram(drug~bili, pbc))

Run the code above in your browser using DataLab