Re: [R] error message in gev

2013-07-17 Thread Roslina Zakaria
Hi Rui,   Yes, it works beatifully this time.   Thank you so much for your help. From: Rui Barradas Cc: R help forum Sent: Wednesday, July 17, 2013 11:28 PM Subject: Re: [R] error message in gev Hello, And what if you try it without a block value

Re: [R] error message in gev

2013-07-17 Thread Rui Barradas
oslina Zakaria *Cc:* 'r-help' *Sent:* Wednesday, July 17, 2013 8:49 PM *Subject:* Re: [R] error message in gev Hello, It's better if you Cc the list, the odds of getting more and better answers are greater. Have you tried with different block values? Rui Barradas Em 17-07-201

Re: [R] error message in gev

2013-07-17 Thread Roslina Zakaria
at, gev, block = 10) Error in optim(theta, negloglik, hessian = TRUE, ..., tmp = data) : non-finite finite-difference value [2] From: Rui Barradas Cc: 'r-help' Sent: Wednesday, July 17, 2013 8:49 PM Subject: Re: [R] error message in gev Hello, I

Re: [R] error message in gev

2013-07-17 Thread Rui Barradas
ve succeeded 7: In FUN(X[[7L]], ...) : optimization may not have succeeded Thank you. *From:* Rui Barradas *To:* Roslina Zakaria *Cc:* "r-help@r-project.org" *Sent:* Wednesday, July 17, 2013 5:51 PM *Subject:* Re: [R] error message in gev Hello, You should say which package is gev()

Re: [R] error message in gev

2013-07-17 Thread Rui Barradas
Hello, You should say which package is gev() coming from. I believe it's from evir, and what follows assumes that. The problem is that 'dat' is a data.frame, a special type of list. It is a list of vectors and gev is expecting just one vector. You could try instead, to fit generalized extreme

[R] error message in gev

2013-07-17 Thread Roslina Zakaria
  Hi r-users,   I would like to use gev and my data (annual rainfall ) is as follows:   > head(dat,20) ABCDEFGHI J 1 45.1 41.5 58.5 50.1 46.0 49.1 37.7 49.1 59.8 54.0 2 50.3 39.8 49.4 56.4 49.4 48.8 42.1 49.8 49.4 58.3 3 41.7 39.3 44.6 39.1 35.7 41.5 40.8 4