write_marxan_pu.dat_input_file_from_vectors | R Documentation |
Write marxan planning units input file (pu.dat) given vectors of cost and status values.
write_marxan_pu.dat_input_file_from_vectors(PU_IDs, cost_values, status_values)
PU_IDs |
A vector of planning unit IDs |
cost_values |
A vector of costs |
status_values |
A vector of status values |
Returns nothing
## Not run: PU_IDs = 1:5 cost_values = c(2,3,8,1,4) status_values = c(0,0,0,0,0) write_marxan_pu.dat_input_file_from_vectors (PU_IDs, cost_values, status_values) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.