Re: [R] QP.solve, QPmat, constraint matrix, and positive definite

2008-04-11 Thread jpolo
i found the posdefify, nearcor, and nearPD functions, but can't get things to work. when i tried nearPd, it gave me an dpoMatrix, but i don't know if it would have worked because it said: 31 x 31 Matrix of class dpoMatrix right between $mat and the actual matrix and i don't know how to cut that

[R] QP.solve, QPmat, constraint matrix, and positive definite

2008-04-10 Thread jpolo
hello all, i'm trying to use QPmat, from the popbio package. it appears to be based on solve.QP and is intended for making a population projection matrix. QPmat asks for: nout, A time series of population vectors and C, C constraint matrix, (with two more vectors, b and nonzero). i believe the

[R] QP.solve, QPmat, constraint matrix, and positive definite

2008-04-10 Thread jpolo
hello all, i'm trying to use QPmat, from the popbio package. it appears to be based on solve.QP and is intended for making a population projection matrix. QPmat asks for: nout, A time series of population vectors and C, C constraint matrix, (with two more vectors, b and nonzero). i believe the