accessors-methods-discret_method: Accessing OR replacing 'discretization_method' model elements

method_funcR Documentation

Accessing OR replacing discretization_method model elements

Description

All methods described here allow to access the elements of contained in objects of class discretization_method.

Usage

method_func(sspm_object)

## S4 method for signature 'discretization_method'
method_func(sspm_object)

method_func(object) <- value

## S4 replacement method for signature 'discretization_method'
method_func(object) <- value

## S4 method for signature 'discretization_method'
spm_name(sspm_object)

## S4 replacement method for signature 'discretization_method'
spm_name(object) <- value

Arguments

sspm_object

[discretization_method] An object of class discretization_method.

object

[discretization_method] An object of class discretization_method.

value

typically an array-like R object of a similar class as x.

Value

The object in the required slot.

Examples

method <- as_discretization_method("tesselate_voronoi")
method_func(method)

pedersen-fisheries-lab/spaspm documentation built on Feb. 16, 2025, 7:39 p.m.