Skip to contents

Compute values for a record based on other values in a record

Usage

compute_record(fcn, ...)

Arguments

fcn

(function) The function used to compute the values for the record.

...

Additional slots and values passed to struct_class.

Value

A compute_record object with the following output slots:

updated(annotation_source) The updated annotations as an annotation_source object.

Details

This object makes use of functionality from the following packages:

  • dplyr

Inheritance

A compute_record object inherits the following struct classes:

[compute_record] -> [model] -> [struct_class]

References

Wickham H, François R, Henry L, Müller K, Vaughan D (2023). dplyr: A Grammar of Data Manipulation. R package version 1.1.4, https://CRAN.R-project.org/package=dplyr.

Examples

M <- compute_record(
        fcn = function(){})