Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Parameter-class

Parameter class


Description

This class is used to represent a parameter that has multiple values. Each value has a different label to differentiate values. Only experts should interact directly with this class.

Fields

$id

Id identifier for parameter.

$name

character name of parameter.

$value

numeric vector of values.

$default

numeric vector of default values.

$class

character name of the class that the values inherit from (e.g. "integer".

$lower_limit

numeric vector specifying the minimum permitted value for each element in $value.

$upper_limit

numeric vector specifying the maximum permitted value for each element in $value.

Usage

x$print()

x$show()

x$reset()

Details

print

print the object.

show

show the object.

reset

change the parameter values to be the default values.

See Also


prioritizr

Systematic Conservation Prioritization in R

v7.0.1
GPL-3
Authors
Jeffrey O Hanson [aut] (<https://orcid.org/0000-0002-4716-6134>), Richard Schuster [aut, cre] (<https://orcid.org/0000-0003-3191-7869>), Nina Morrell [aut], Matthew Strimas-Mackey [aut] (<https://orcid.org/0000-0001-8929-7776>), Matthew E Watts [aut], Peter Arcese [aut] (<https://orcid.org/0000-0002-8097-482X>), Joseph Bennett [aut] (<https://orcid.org/0000-0002-3901-9513>), Hugh P Possingham [aut] (<https://orcid.org/0000-0001-7755-996X>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.