last_history: Returns the Last Element from History List

View source: R/trafo.R

last_historyR Documentation

Returns the Last Element from History List

Description

Function returns the last element from history list.

Usage

last_history(O, t)

Arguments

O

transformed distribution object.

t

which characterization should be extracted.

Value

Expression if t is set to "expre", "iexpre", "oldprint" and "oldderiv". Numeric and string if t is equal to "value" and "operation", respectively.

Examples

B  <- binomdist(10, 0.3)
B2 <- -3*log(B)
last_history(B2, "value")
last_history(B2, "operation")

mistr documentation built on March 7, 2023, 7:42 p.m.