Learn R Programming

tangram (version 0.8.2)

smd_dist: 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, ...)

Value

a tangram cell

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