matrix_adjusted_intervals {CNAIM}R 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


[Package CNAIM version 1.0.1 Index]