[R] equation help

2009-04-13 Thread Brendan Morse
Hi everyone, I am having a bit of trouble correctly structuring an equation in R. Here is the equation Here is what I thought for(i in 1:numItem)for(x in 1:numCat) Ptheta[,i,x]-(exp(-1.702*a[i]*(theta-b[i,x+1])) My problem is that I am not sure how to get it to read the

Re: [R] equation help

2009-04-13 Thread Doran, Harold
Of Brendan Morse Sent: Monday, April 13, 2009 10:54 AM To: r-help@r-project.org Subject: [R] equation help Hi everyone, I am having a bit of trouble correctly structuring an equation in R. Here is the equation Here is what I thought for(i in 1:numItem)for(x in 1:numCat

Re: [R] equation help

2009-04-13 Thread David Winsemius
On Apr 13, 2009, at 10:54 AM, Brendan Morse wrote: Hi everyone, I am having a bit of trouble correctly structuring an equation in R. Here is the equation It's really a series of assignments. Here is what I thought for(i in 1:numItem)for(x in 1:numCat)