Package: TroublemakeR 0.0.1
TroublemakeR: Generates Spatial Problems in R for 'AMPL'
Provides methods for generating .dat files for use with the 'AMPL' software using spatial data, particularly rasters. It includes support for various spatial data formats and different problem types. By automating the process of generating 'AMPL' datasets, this package can help streamline optimization workflows and make it easier to solve complex optimization problems. The methods implemented in this package are described in detail in a publication by Fourer et al. (<doi:10.1287/mnsc.36.5.519>).
Authors:
TroublemakeR_0.0.1.tar.gz
TroublemakeR_0.0.1.zip(r-4.5)TroublemakeR_0.0.1.zip(r-4.4)TroublemakeR_0.0.1.zip(r-4.3)
TroublemakeR_0.0.1.tgz(r-4.4-any)TroublemakeR_0.0.1.tgz(r-4.3-any)
TroublemakeR_0.0.1.tar.gz(r-4.5-noble)TroublemakeR_0.0.1.tar.gz(r-4.4-noble)
TroublemakeR_0.0.1.tgz(r-4.4-emscripten)TroublemakeR_0.0.1.tgz(r-4.3-emscripten)
TroublemakeR.pdf |TroublemakeR.html✨
TroublemakeR/json (API)
# Install 'TroublemakeR' in R: |
install.packages('TroublemakeR', repos = c('https://sustainscapes.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sustainscapes/troublemaker/issues
- Current - A PackedSpatRaster of 4 species with its projected distribution for current conditions
- CurrentLanduse - A PackedSpatRaster of the current landuse
- Species - A list of 4 species with its projected distribution for 4 landuses
- Species_Landuse - A list of 4 species with its projected distribution for 4 landuses
Last updated 8 months agofrom:54d8daf058. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 29 2024 |
R-4.5-win | NOTE | Oct 29 2024 |
R-4.5-linux | NOTE | Oct 29 2024 |
R-4.4-win | NOTE | Oct 29 2024 |
R-4.4-mac | NOTE | Oct 29 2024 |
R-4.3-win | NOTE | Oct 29 2024 |
R-4.3-mac | NOTE | Oct 29 2024 |
Exports:create_budgetdefine_cellsfind_connectionslanduse_namesLanduseCombinationspecies_namesspecies_suitabilityspecies_suitability_landusetroublemakerwrite_ampl_lineswrite_cell_param
Dependencies:clidata.tabledplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangstringistringrterratibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Create budget | create_budget |
A PackedSpatRaster of 4 species with its projected distribution for current conditions | Current |
A PackedSpatRaster of the current landuse | CurrentLanduse |
Define Cells | define_cells |
Find connections | find_connections |
Landuse names | landuse_names |
Calculate contiguity bonus based on similarity | LanduseCombination |
A list of 4 species with its projected distribution for 4 landuses | Species |
A list of 4 species with its projected distribution for 4 landuses | Species_Landuse |
Species names | species_names |
Calculate species suitability | species_suitability |
Calculate species suitability for each landuse | species_suitability_landuse |
Troublemaker | troublemaker |
Writes an AMPL line | write_ampl_lines |
Write cell parameters | write_cell_param |