Roslina Zakaria wrote:
>
> newton.inputsingle <- function(pars,n)
> { runi <- runif(974, min=0, max=1)
> lendt <- length(runi)
> ## Parameter to estimate
> z <- vector(length=lendt, mode= "numeric")
> z <- pars[1]
>
> ## Constant value
>
> alp <- 2.0165 ; rho
Hi r-users,
I would like to solve for z values using newton iteration method. I 'm not
sure which part of the code is wrong since I'm not very good at programming but
would like to learn. There seem to be some output but what I expected is a
vector of z values. Thank you so much for any he
2 matches
Mail list logo