condense | R Documentation |
Given a partition, coerce to a nice compact character format
condense(x, minval=1, col)
x |
A partition or a matrix whose columns are partitions |
minval |
Minimum value to include in the printing, defaulting to 1 [meaning to ignore zero values]. Set to “0” for compositions |
col |
String specifying the collapse value with missing value
meaning to use the empty string if values are all single digit, and
a comma if not. Using “ |
Experimental: caveat emptor!
Robin K. S. Hankin
condense(parts(9))
condense(compositions(9,3),0)
condense(diffparts(17),col="+")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.