pretty_print_vector_names_and_values {usefun} | R Documentation |
Pretty printing of a vector's names and values
Description
It outputs a vector's names and values in this format: name1: value1, name2: value2,.... You can choose how many elements to show in this format. Use with the chuck option results = 'asis' to get a nice printing in an R notebook.
Usage
pretty_print_vector_names_and_values(vec, n = -1)
Arguments
vec |
vector with |
n |
the number of elements that you want to print in a nice way. Default value: -1 (pretty print all elements). For any n < 1, all elements are printed. |
See Also
[Package usefun version 0.5.0 Index]