View source: R/get_graphab_linkset_cost.R
| get_graphab_linkset_cost | R Documentation |
The function extracts the cost parameters associated with a linkset in a Graphab project
get_graphab_linkset_cost(proj_name, linkset, proj_path = NULL)
proj_name |
A character string indicating the Graphab project name. The project name is also the name of the project directory in which the file proj_name.xml has been created. |
linkset |
A character string indicating the name of the link set used
to create the graph. Link sets can be created with |
proj_path |
(optional) A character string indicating the path to the
directory that contains the project directory. It should be used when the
project directory is not in the current working directory. Default is NULL.
When 'proj_path = NULL', the project directory is equal to |
The function returns a data.frame with the cost values corresponding to every raster code value.
P. Savary
## Not run:
proj_name <- "graphab_example"
get_graphab_linkset_cost(proj_name = proj_name,
linkset = "forest_link_planar")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.