Skip to contents

Auto Breaks for Matrix Plotting Functions

Usage

utils_color_breaks(m = NULL, n = 100)

Arguments

m

(required, numeric matrix) distance or cost matrix generated by psi_distance_matrix() or psi_cost_matrix(), but any numeric matrix will work. Default: NULL

n

(required, integer) number of colors to compute the breaks for. Default: 100

Value

numeric vector