matrix_adjusted_intervals: Adjust banding for matrix visualization

View source: R/matrix_functions.R

matrix_adjusted_intervalsR Documentation

Adjust banding for matrix visualization

Description

This function manipulates the data structure before inputting into javascript D3 risk matrix visualization

Usage

matrix_adjusted_intervals(risk_data_matrix, x_intervals, y_intervals)

Arguments

risk_data_matrix

Long format matrix data.

x_intervals

An array of x spacing in percent (sum to 100)

y_intervals

An array of y spacing in percent (sum to 100)

Value

Long format matrix data. intervals for matrix D3 visualization adjusted


CNAIM documentation built on Aug. 31, 2022, 9:13 a.m.