View source: R/plot_expected_cov.R
plot_expected_cov | R Documentation |
Title
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
)
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 |
a plot of the expected covariance/correlation according to the distance
plot_expected_cov(1, c(1,2,3), list(c(0,1), c(1,1), c(1,2)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.