Greetings,

I am a very novice user with R, and in the course of running a linking 
procedure :


P.old<- function (a, c, b, xi){
                #a contains a parameters
                #c contains c parameters
                #b contains b parameters
                #xi is a one column vector containing quadrature points for 
xi(=theta-gamma)for one item

                tmp <- a*(xi-b)
                p <- c+(1-c)*pnorm(tmp)
                return(p)
}

I receive an error which states:

Error in P.old(a[i], c[i], b[i], node) :
  dims [product 40] do not match the length of object [0]

I'm not exactly sure to what I should attend in changing the code. Any help 
would be greatly appreciated!

Yaacov

Yaacov Petscher, Ph.D.
Director of Research, Florida Center for Reading Research
Associate in Research, Florida State University
2010 Levy Ave
Suite 100
Tallahassee, Florida, 32310
850-645-8963 (phone Tuesday/Thursday)
850-645-9477 (phone Monday/Wednesday/Friday)
850-644-9085 (f)


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to