NewtonFl: 'NewtonFl' Newton's method to find roots of the function...

Description Usage Arguments Value Examples

View source: R/ValeMorelli.r

Description

NewtonFl Newton's method to find roots of the function FlFunc.

Usage

1
NewtonFl(target, startv, maxIter = 100, converge = 1e-12)

Arguments

target

vector with the desired skewness and kurtosis

startv

vector with initial guess of the coefficents for the Fleishman transform

maxIter

maximum of iterations

converge

limit of allowed absolute error

Value

out list with components

coefficients vector with the approximation to the root
value vector with differences of root and target
iter number of iterations used

Examples

1
2
3
skew <- 1; kurt <- 2
startv <- c( 0.90475830, 0.14721082, 0.02386092)  
out <- NewtonFl(c(skew,kurt),startv) 

cbsem documentation built on May 2, 2019, 5:56 a.m.

Related to NewtonFl in cbsem...