On 15.02.2010 06:34, Roslina Zakaria wrote:
Hi r-users,
I hope somebody can help me to understand the error message. Here is my code;
## Newton iteration
newton_gam- function(z)
{ n- length(z)
r- runif(n)
tol- 1E-6
cdf- vector(length=n, mode=numeric)
fprime- vector(length=n,
Hi r-users,
I hope somebody can help me to understand the error message. Here is my code;
## Newton iteration
newton_gam - function(z)
{ n - length(z)
r - runif(n)
tol - 1E-6
cdf - vector(length=n, mode=numeric)
fprime - vector(length=n, mode=numeric)
f - vector(length=n,
I have the following code, from which I get the following error message:
Error in dim(data) - dim : attempt to set an attribute on NULL
I think the error is coming from the part of my code in BOLD RED. The script
works fine until then.
#Load libraries
3 matches
Mail list logo