View source: R/restopt_problem.R
print.RestoptProblem | R Documentation |
Display information about a restoration optimization problem.
## S3 method for class 'RestoptProblem'
print(x, ...)
x |
|
... |
Arguments not used. |
## Not run:
#' # load data
habitat_data <- rast(
system.file("extdata", "habitat_hi_res.tif", package = "restoptr")
)
# create problem
p <- restopt_problem(
existing_habitat = habitat_data,
aggregation_factor = 4,
habitat_threshold = 0.7
)
# print problem
print(p)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.