Learn R Programming

mistr (version 0.0.6)

last_history: Returns the Last Element from History List

Description

Function returns the last element from history list.

Usage

last_history(O, t)

Value

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

Arguments

O

transformed distribution object.

t

which characterization should be extracted.

Examples

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

Run the code above in your browser using DataLab