plot_expected_cov: Title

View source: R/plot_expected_cov.R

plot_expected_covR Documentation

Title

Description

Title

Usage

plot_expected_cov(
  sigma_Z,
  the_radius,
  the_directions,
  xlabs = "Distance between variables",
  ylabs = "Theoritical covariance",
  x = "Distance",
  y = "Theoritical_covariance",
  rayon = "Radius",
  the_scale = 1,
  max = "",
  maxy_sup = "",
  maxy_inf = "",
  connect = TRUE,
  director_vector = TRUE
)

Arguments

sigma_Z

the standard error

the_radius

radius of the window of the moving average (many are possibles ex : c(1, 2, 3))

the_directions

ex : list(c(0,1), c(1,1))

xlabs

the label of x axis

ylabs

the label of y axis

x

A string : "Distance" by default, or "Distance_km"

y

A string : ""Expected covariance"" by default, or "Expected correlation

rayon

A string for the unit of radius : "Radius" by default, or "Radius_km"

the_scale

how many km/pixel

max

the maximum value for x axis (the minimum is always zero)

maxy_sup

the maximum value for y axis

maxy_inf

the minimum value for y axis

connect

TRUE by default : to connect points for a given radius and direction

director_vector

TRUE by default : the given direction is transformed : it takes the director vector

Value

a plot of the expected covariance/correlation according to the distance

Examples

plot_expected_cov(1, c(1,2,3), list(c(0,1), c(1,1), c(1,2)))

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