Learn R Programming

ecd (version 0.9.2.4)

ecld.y_slope: Analytic solution for the slope of \(y(x)\) in lambda distribution

Description

Analytic solution for the slope of \(y(x)\) if available. \(ecld.y_slope_trunc\) calculates the MGF truncation point where \(dy/dx+t=1\). SGED is supported.

Usage

ecld.y_slope(object, x)

ecld.y_slope_trunc(object, t = 1)

Arguments

object

an object of ecld class

x

a vector of \(x\) values

t

numeric, for MGF truncation

Value

numeric

Examples

Run this code
# NOT RUN {
ld <- ecld(sigma=0.01*ecd.mp1)
x <- seq(-0.1, 0.1, by=0.01)
ecld.y_slope(ld,x)
ecld.y_slope_trunc(ld)
# }

Run the code above in your browser using DataLab