plot2_array2d: Create ggplot from array and mask

Description Usage Arguments Value Examples

View source: R/plot_array2d.R

Description

Create ggplot from array and mask

Usage

1
2
3
4
5
6
7
plot2_array2d(
  arrList,
  maskList = NULL,
  alpha = 0.35,
  title = NULL,
  title_size = 18
)

Arguments

arrList

array or list of 1, 2, or 3 arrays

maskList

array or list of 1, 2, or 3 arrays

alpha

numeric

title

character

title_size

numeric

Value

ggplot object

Examples

1
2
3
urandom <- make_arrays(m = 5, n = 5)$urandom
square <- make_arrays(m = 5, n = 5)$rectangle
plot2_array2d(urandom, square, title = "urandom*square", title_size = 18)

ventri2020/rraysplot documentation built on Jan. 1, 2021, 12:38 p.m.