print.RestoptProblem {restoptr}R Documentation

Print a restoration optimization problem

Description

Display information about a restoration optimization problem.

Usage

## S3 method for class 'RestoptProblem'
print(x, ...)

Arguments

x

restopt_problem() Restoration problem object.

...

Arguments not used.

Examples


#' # 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)



[Package restoptr version 1.0.6 Index]