print.RestoptProblem: Print a restoration optimization problem

View source: R/restopt_problem.R

print.RestoptProblemR 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

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


restoptr documentation built on Aug. 12, 2025, 1:08 a.m.