Description Usage Arguments Value Examples
mom_gamma function will calculate mom estimate for the shape parameter "k" and the scale parameter "theta" by using given sample.
1 2  | newton_method(f, df, x_0, stop_criteria = .Machine$double.eps,
  max_iter = 10^3, left_b = -Inf, right_b = Inf)
 | 
f | 
 the function to be applied  | 
df | 
 the first derivative of f  | 
x_0 | 
 the initial point of algorithm  | 
stop_criteria | 
 stopping rule  | 
max_iter | 
 if the iteration is larger than max_iter, loop will be stopped.  | 
left_b | 
 left bound of the solution search  | 
right_b | 
 right bound of the solution search  | 
the root of the function within the given bound
1 2 3  |   x_cu <- function(x){x^3}
  x_sq <- function(x){3*x^2}
  newton_method(x_cu, x_sq, 3)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.