Hi List,
I was not able to make this work. I know it is a simple one, sorry to bother.
Give me some hints pls. Thanks!
Jen
if(length(real.d)=30 length(real.b)=30 beta1*beta2*theta1*theta20 )
{ r - 1; corr - 1; }
real.d and real.b are two vectors, beta1,beta2,theta1,and theta2 are
Jenny Stadt wrote:
I was not able to make this work. I know it is a simple one, sorry
to bother. Give me some hints pls. Thanks!
Are you a C programmer? :-)
if(length(real.d)=30 length(real.b)=30
beta1*beta2*theta1*theta20 )
{ r - 1; corr - 1; }
I _think_ you should use
Jenny Stadt jennystadt at yahoo.ca writes:
if(length(real.d)=30 length(real.b)=30
beta1*beta2*theta1*theta20 )
{ r - 1; corr - 1; }
real.d and real.b are two vectors, beta1,beta2,theta1,and theta2 are
constants. The error occurred like this:
Error in
if (length(real.d) = 30
] On Behalf Of Jenny Stadt
Sent: 17 October 2006 18:19
To: r-help@stat.math.ethz.ch
Subject: [R] if statement error
Hi List,
I was not able to make this work. I know it is a simple one, sorry to
bother. Give me some hints pls. Thanks!
Jen
if(length(real.d)=30 length(real.b)=30 beta1*beta2
of your scalars is missing
JFL
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jenny Stadt
Sent: Tuesday, October 17, 2006 12:19 PM
To: r-help@stat.math.ethz.ch
Subject: [R] if statement error
Hi List,
I was not able to make this work. I know it is a simple
On 17 Oct 2006, at 18:34, Alberto Monteiro wrote:
Jenny Stadt wrote:
I was not able to make this work. I know it is a simple one, sorry
to bother. Give me some hints pls. Thanks!
Are you a C programmer? :-)
if(length(real.d)=30 length(real.b)=30
beta1*beta2*theta1*theta20 )
{ r - 1;
no longer
shows up.
Thank you very much!
Jen
-Original Message-
From:Alberto Monteiro , [EMAIL PROTECTED]
Sent: 2006-10-17, 11:36:40
To: r-help@stat.math.ethz.ch
CC:
Subject: Re: [R] if statement error
Jenny Stadt wrote:
I was not able to make this work. I know it is a simple one