triangle_cdfe {triangle}R Documentation

Triangle parameter estimates using a non-linear fit of the empirical CDF

Description

Triangle parameter estimates using a non-linear fit of the empirical CDF

Usage

triangle_cdfe(x, control = stats::nls.control(maxiter = 100, warnOnly = TRUE))

Arguments

x

the triangle distributed sample

control

an object created by stats::nls.control

Value

an object of class nls

Examples

set.seed(10304)
xtest <- rtriangle(100, 1, 5, 2)
cdfe <- triangle_cdfe(xtest)
print(cdfe)
summary(cdfe)
coef(cdfe)
## Not run: 
  confint(cdfe)

## End(Not run)

[Package triangle version 1.0 Index]