smd_dist {tangram} | R Documentation |
Create an SMD distance cell
Description
Create an SMD distance cell. It calls the smd function then formats the result. If the result rounds to all zeros then it appends a less than sign and bumps the least significant digit to one.
Usage
smd_dist(x, group, format, weight = NULL, ...)
Arguments
x |
vector; variable to evaluate with smd |
group |
factor; A grouping to apply. Must have 2 levels. |
format |
formatting to apply to result |
weight |
numeric; Weighting to apply to computation. Defaults to NULL. |
... |
additional arguments to pass to cell generation |
Value
a tangram cell
[Package tangram version 0.8.2 Index]