Skip to contents

This function can be used to generate automatically pretty names in a list of custom input object. This can improve the output, especially when structures such as data frames, matrices, and more complex objects are involved.

Usage

namify(...)

Arguments

...

Objects, possibly named.

Value

A named list containing the evaluated arguments. For unnamed arguments, names are generated by deparsing the unevaluated inputs.

See also

Examples

namify(data.frame(a = 1, b = 2))
#> $`data.frame(a = 1, b = 2)`
#>   a b
#> 1 1 2
#>