prepare_data | R Documentation |
Preparing input data from catchment model
prepare_data(
prob_mat_init,
pop_raster,
location_data,
id_col = "label",
weight_col = "weight",
x_col = "x",
y_col = "y",
mesh.args = NULL
)
prob_mat_init |
A matrix object. |
pop_raster |
A raster object/ |
location_data |
A dataframe object which contains point-level data, including coordinates, labels, and weights. |
id_col |
A character for the column in location_data that contains the labels for individual point. This should be a unique identifier (no duplicated values). |
weight_col |
A character for the column in location_data that contains the weights for each point. |
x_col |
A character for the X column |
y_col |
A character for the Y column |
... |
a list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.