lcp_rds_infield | R Documentation |
lcp_rds_infield
is a helper function that uses least cost paths to
connect satellite pads to their parent central processing facility (CPF) via
infield roads. Used by generate_sat_rd
.
lcp_rds_infield(
x,
tr,
cost.map,
cpf.df,
min.dist.exist,
wd.loc,
path.out,
scenario,
n.iter,
j,
z = NULL,
i = NULL,
debug.out = FALSE
)
x |
data.frame of satellite pad locations, created within |
tr |
Scenario-specific |
cost.map |
RasterLayer indicating land and water areas, used in gravel
pad simulation. Created by |
cpf.df |
data.frame of CPF point locations. Created by |
min.dist.exist |
Proximity order-sorted data.frame of distance from CPFs
to existing infrastructure. Created within |
wd.loc |
Character string identifying the base directory containing both input and output data folders. |
path.out |
Character string identifying the relative path from the base
directory ( |
scenario |
Vector of character strings identifying the scenarios being run. |
n.iter |
Integer indicating the desired number of iterations to be run for each scenario. Defaults to 100. |
j |
Iterator used within |
z |
Iterator value used by |
i |
Iterator value used by |
debug.out |
Logical indicator of whether intermediate infrastructure .csv
files should be written out for the purpose of debugging code. Defaults to
|
List containing two objects, a temporary data.frame of generated road
coordinates (tmp_rd_df
) and a temporary SpatialLines object depicting
generated roads (tmp_rd_sl
). These are fed into lcp_rds_outfield
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.