Re: [R] stupid thing with the correlation

2015-01-30 Thread n omranian via R-help
Well, yes, I do agree with you. And thanks a lot, I found the FAQ 7.31. very useful. Best,N. On Friday, January 30, 2015 12:44 PM, Duncan Murdoch wrote: On 30/01/2015 5:22 AM, n omranian via R-help wrote: > Hi All, > I'm getting actually nuts. I don't understa

Re: [R] stop a function

2015-01-30 Thread n omranian via R-help
Hi All, I'm getting actually nuts. I don't understand the following lines in R: Here is the data, all rows are exactly the same! > ord_data[pid,] c0m2 c0m4 c0m8  c0m16    c0m24    c0m48 c0p2 c0p4      c0p8   c0p16    c0p24    c0p48   c24m2    c24m4    c24m8  c24m16 1333

[R] stupid thing with the correlation

2015-01-30 Thread n omranian via R-help
Hi All, I'm getting actually nuts. I don't understand the following lines in R: Here is the data, all rows are exactly the same! > ord_data[pid,] c0m2 c0m4 c0m8  c0m16    c0m24    c0m48 c0p2 c0p4      c0p8   c0p16    c0p24    c0p48   c24m2    c24m4    c24m8  c24m16 1333

Re: [R] stop a function

2014-05-14 Thread n omranian
examination: he may be able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher The plural of anecdote is not data. ~ Roger Brinner The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John

Re: [R] stop a function

2014-05-13 Thread n omranian
ecdote is not data. ~ Roger Brinner The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-proj

Re: [R] stop a function

2014-05-13 Thread n omranian
en body of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens n omranian Verzonden: dinsdag 13 mei 2014 14:15 Aan: r-packages-ow...@r-project.org; r-help@r-project.org; r-help-requ...@r-project.org Onderwerp: [R]

[R] stop a function

2014-05-13 Thread n omranian
Hi all, If I use a function in R which takes some parameters as an input, how can I stop this function in the while loop and try another parameter in case the function takes long time or could not converge. Actually, I'm using "penalized" function in a loop for some fixed lambdas (pre-calculat