plot_matrix: Plot a matrix

View source: R/plot_matrix.R

plot_matrixR Documentation

Plot a matrix

Description

Plot a matrix

Usage

plot_matrix(
  M,
  r = "",
  paletteinf = "",
  palettesup = "",
  titre = "",
  nom_axeX = "",
  nom_axeY = "",
  echelle = "Scale"
)

Arguments

M

a matrix/vector/number/dataframe of numbers

r

a radius for the window of the moving average (optional)

paletteinf

extreme color of color scale

palettesup

extreme color of color scale

titre

a title for the matrix

nom_axeX

name for X axis

nom_axeY

name for Y axis

echelle

title of scale

Value

a plot

Examples

plot_matrix(matrix(rbinom(10*10, 1, 0.5), nrow = 10))
plot_matrix(matrix(rbinom(10*10, 1, 0.5), nrow = 10), r = 2)

C-Juliette/randomfields documentation built on Sept. 3, 2023, 5:56 a.m.