df1 <- data.frame(
latitude = runif(5, 30, 35),
longitude = runif(5, -120, -115),
temperature = rnorm(5, 15, 2),
pH = rnorm(5, 8, 0.1),
geo_distance = runif(5, 0, 100),
maha_distance = runif(5, 0, 10)
)
df2 <- data.frame(
latitude = runif(5, 30, 35),
longitude = runif(5, -120, -115),
temperature = rnorm(5, 16, 2),
pH = rnorm(5, 7.9, 0.1),
geo_distance = runif(5, 0, 100),
maha_distance = runif(5, 0, 10)
)
iteration_list <- list(df1, df2)#Store both data frames in a list
iteration_list <- list(df1, df2)
plot <- ec_plot_distance(iteration_list, geo_quantile = 0.99, maha_quantile = 0.99,
iterative = TRUE)
Run the code above in your browser using DataLab