long_stars_class: An S4 class to hold a multi-dimensional array and a...

long_stars-classR Documentation

An S4 class to hold a multi-dimensional array and a data.frame with a many-to-one relationship.

Description

An S4 class to hold a multi-dimensional array and a data.frame with a many-to-one relationship.

Usage

## S4 method for signature 'long_stars'
values(x)

## S4 replacement method for signature 'long_stars'
values(x) <- value

## S4 method for signature 'long_stars'
locations(x)

## S4 replacement method for signature 'long_stars'
locations(x) <- value

Arguments

x

An object

value

A replacement value

Details

The predictions slot will have at least 1 dimension, the first of which must be named idx and is identical to the row dimension of locations.

Functions

  • values(long_stars): Get values in multi-dimensional array

  • values(long_stars) <- value: Set values in multi-dimensional array

  • locations(long_stars): Get locations

  • locations(long_stars) <- value: Set locations

Slots

predictions

A stars object.

locations

An sf object with at least a time column and point geometries.

See Also

Other starve_classes: TMB_out-class, dag-class, observation_parameters-class, observations-class, parameters-class, process-class, process_parameters-class, settings-class, starve-class, tracing-class


lawlerem/staRVe documentation built on Oct. 9, 2024, 4:48 a.m.