;, everything is there (except
for y2, which is supposed to fail):
results
y1 y2y3
[1,] 0.6976063 NA 0.6976063
From: David Winsemius
Cc: R Help
Sent: Sun, July 18, 2010 9:12:44 PM
Subject: Re: [R] Continuing on with a loop when there's a
_
From: David Winsemius
Cc: Peter Konings ; R Help
Sent: Sun, July 18, 2010 3:33:07 PM
Subject: Re: [R] Continuing on with a loop when there's a failure
On Jul 18, 2010, at 4:25 AM, Josh B wrote:
> Hello Peter,
>
> I tried your suggestion, but I was still not able to get i
oly3 <- lrm(x[,3] ~ pol(x1, 3) + pol(x2, 3), data=x)
>anova(mod.poly3)[1,3]
[1] 0.6976063
Any ideas?
From: David Winsemius
To: Josh B
Cc: Peter Konings ; R Help >
Sent: Sun, July 18, 2010 3:33:07 PM
Subject: Re: [R] Continuing on with a loop when there's a failure
On Jul 18,
6976063 NA NA
...and here's the output:
results
y1 y2 y3
[1,] NA NA NA
The results matrix is empty!
________
From: Peter Konings
Sent: Tue, July 13, 2010 5:45:17 PM
Subject: Re: [R] Continuing on with a loop when there's a failure
Hi Josh,
Test t
through the loop should have succeeded and left numeric output
in
the matrix called "results", but it did not).
To: Peter Konings
Cc: R Help
Sent: Sun, July 18, 2010 12:25:42 PM
Subject: Re: [R] Continuing on with a loop when there's a failure
#x27;s the output:
> results
y1 y2 y3
[1,] NA NA NA
The results matrix is empty!
________
From: Peter Konings
Sent: Tue, July 13, 2010 5:45:17 PM
Subject: Re: [R] Continuing on with a loop when there's a failure
Hi Josh,
Test the class of the resulting object. If it is 'try-error
f/then statement?
From: David Winsemius
To: David Winsemius
Cc: Josh B ; R Help
Sent: Tue, July 13, 2010 9:09:04 AM
Subject: Re: [R] Continuing on with a loop when there's a failure
On Jul 13, 2010, at 9:04 AM, David Winsemius wrote:
>
> On Jul 13, 2010, at 8:47 AM, Josh B
yCatch, and the help files for them are pretty
bad, in my humble opinion.
>>
>> I should clarify that I actually don't care about the failed runs
per se. I just want R to keep going in spite of them and give me my
results matrix.
>>
>> From: David Winsemius
>>
for them are pretty bad, in my humble opinion.
>>
>> I should clarify that I actually don't care about the failed runs per se. I
>>just want R to keep going in spite of them and give me my results matrix.
>>
>> From: David Winsemius
>> Cc: R Help
>
st
want R to keep going in spite of them and give me my results matrix.
From: David Winsemius
Cc: R Help
Sent: Mon, July 12, 2010 8:09:03 PM
Subject: Re: [R] Continuing on with a loop when there's a failure
On Jul 12, 2010, at 6:18 PM, Josh B wrote:
>
files for them are
pretty bad, in my humble opinion.
I should clarify that I actually don't care about the failed runs
per se. I just want R to keep going in spite of them and give me my
results matrix.
From: David Winsemius
To: Josh B
Cc: R Help
Sent: Mon, July 12, 2010 8:09:03 PM
Sub
to keep going in spite of them and give me my
results matrix.
From: David Winsemius
To: Josh B
Cc: R Help
Sent: Mon, July 12, 2010 8:09:03 PM
Subject: Re: [R] Continuing on with a loop when there's a failure
On Jul 12, 2010, at 6:18 PM, Josh B wrote:
> Hi R sages,
>
&g
On Jul 12, 2010, at 6:18 PM, Josh B wrote:
Hi R sages,
Here is my latest problem. Consider the following toy example:
x <- read.table(textConnection("y1 y2 y3 x1 x2
indv.1 bagels donuts bagels 4 6
indv.2 donuts donuts donuts 5 1
indv.3 donuts donuts donuts 1 10
indv.4 donuts donuts donuts 10
Hi R sages,
Here is my latest problem. Consider the following toy example:
x <- read.table(textConnection("y1 y2 y3 x1 x2
indv.1 bagels donuts bagels 4 6
indv.2 donuts donuts donuts 5 1
indv.3 donuts donuts donuts 1 10
indv.4 donuts donuts donuts 10 9
indv.5 bagels donuts bagels 0 2
indv.6 bagels
14 matches
Mail list logo