ElementExp: ElementExp Class

ElementExpR Documentation

ElementExp Class

Description

An element that calculates e to the power of the output of one element

Super class

biorisk::RiskElement -> ElementExp

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage
ElementExp$new(name, units = NA, output_unit = NA)
Arguments
name

A character defining the name for the element

units

A character vector of units for each input

output_unit

A character with the unit of the output

Returns

A new instance of the element


Method get_output_type()

Get the data type of the output.

Usage
ElementExp$get_output_type()

Method point_estimate()

Returns the expected value

Usage
ElementExp$point_estimate()

Method clone()

The objects of this class are cloneable with this method.

Usage
ElementExp$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


albgarre/biorisk documentation built on Feb. 23, 2025, 5:19 a.m.