lcp_rds_outfield | R Documentation |
lcp_rds_outfield
is a helper function that operates within generate_sat_rd
to connect an anchor field (a central processing facility, or CPF, and its
associated satellites, connected by infield roads created by lcp_rds_infield
)
to existing or previously simulated infrastructure.
lcp_rds_outfield(
x,
y = x,
tmp.rd.sl,
rd.df = NULL,
rd.sl = NULL,
tr,
cost.map,
min.dist.exist,
exist.coords,
road.res,
rd.exist,
alt.b.stranded.leases = NULL,
tr.cost.alt.c.row = NULL,
alt.d.TLnorth = NULL,
wd.loc,
path.out,
scenario,
n.iter,
roadless.check,
j,
z = NULL,
i = NULL,
debug.out = FALSE
)
x |
data.frame of locations to be connected to existing infrastructure.
For most scenarios this is the full anchor field dataset, |
y |
data.frame of all anchor field road locations. This defaults to be
the same as |
tmp.rd.sl |
SpatialLines object depicting anchor field roads. Created by
|
rd.df |
data.frame of road coordinates. If this is the first iteration
through |
rd.sl |
SpatialLines object depicting road locations. If this is the first
iteration through |
tr |
Scenario-specific |
cost.map |
RasterLayer indicating land and water areas, used in gravel
pad simulation. Created by |
min.dist.exist |
Proximity order-sorted data.frame of distance from CPFs
to existing infrastructure. Created within |
exist.coords |
data.frame containing coordinates of existing infrastructure.
Created by |
road.res |
Scenario-specific road restriction RasterLayer. Created by
|
rd.exist |
SpatialLinesDataFrame object representing existing roads.
Created by |
alt.b.stranded.leases |
RasterLayer identifying stranded lease locations
under Alternative B. Created by |
tr.cost.alt.c.row |
TransitionLayer for right-of-way (ROW) areas under
Alternative C, accounting for connecting roads that are allowed within some
of the 50% Teshekpuk Caribou Herd (TCH) calving kernel under this alternative.
Created by |
alt.d.TLnorth |
RasterLayer identifying available areas for development
north of Teshekpuk Lake under Alternative D. Created by |
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. |
roadless.check |
Integer value providing a flag that indicates how
roadless development should be dealt with. Created by |
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 data.frame of generated road coordinates
(rd_df
) and a SpatialLines object depicting generated roads (rd_sl
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.