merge_read_and_write_matrices: Merge Read and Write Permission Matrices

View source: R/merge_permissions.R

merge_read_and_write_matricesR Documentation

Merge Read and Write Permission Matrices

Description

Merge Read and Write Permission Matrices

Usage

merge_read_and_write_matrices(matrix_read, matrix_write)

Arguments

matrix_read

matrix of 0 with 1 at positions with read-permissions

matrix_write

matrix of 0 with 2 at positions with write-permissions

Value

matrix of character with "" at positions without permissions, "-" at positions with read-permissions, "|" at positions with write-permissions and "+" at positions with read- and write-permissions

Examples


# Get example matrices
matrices <- get_example_read_and_write_matrices()

# Overlay example matrices
merge_read_and_write_matrices(matrices$read, matrices$write)


KWB-R/kwb.fakin documentation built on June 14, 2022, 2 p.m.