# NOT RUN {
# Data
data("m_matrix", package = "biosurvey")
# Sampling points
points_s <- point_sample(m_matrix$data_matrix,
variable_1 = "Max_temperature",
variable_2 = "Min_temperature", n = 1,
select_point = "E_centroid", id_column = NULL)
points_s
# }
Run the code above in your browser using DataLab