plot_matrix: Plot a matrix

Description Usage Arguments Value Examples

View source: R/plot_matrix.R

Description

Plot a matrix

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

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

1
2
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/Geostatistic documentation built on Dec. 17, 2021, 11:58 a.m.