inline_hook {schtools}R Documentation

Inline hook for knitr to paste human-readable numbers and nice lists.

Description

Inline hook for knitr to paste human-readable numbers and nice lists.

Usage

inline_hook(x)

Arguments

x

just about anything

Value

a string where each element in x is separated by a comma and numbers are in a human-readable format.

Author(s)

Kelly Sovacool sovacool@umich.edu

Pat Schloss pschloss@umich.edu

Examples

inline_hook(c(1.2993992, 0.03, 1000))
inline_hook(c("cats", "dogs"))

[Package schtools version 0.4.1 Index]