[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 rel

[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 rel

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 tha

[R] installing and using a package

2008-01-10 Thread jpolo
i'm trying to learn R. i have no programing experience. i tried to add on a package and just picked "yags". i can't get it to work or get any help. --- > install.packages("yags") Warning in install.packages("yags") : argument 'lib' is missing: using 'C:\Documents and Settings\j\My Documents/R/wi

[R] installing and using a package

2008-01-10 Thread jpolo
i'm trying to learn R. i have no programing experience. i tried to add on a package and just picked "yags". i can't get it to work or get any help. --- > install.packages("yags") Warning in install.packages("yags") : argument 'lib' is missing: using 'C:\Documents and Settings\j\My Documents/R/wi

[R] error message translation

2008-01-10 Thread jpolo
sorry if my first msg was posted twice. this email system at school sucks. i've looked in the Admin and Main manual and the Intro manual for something that tells me what error messages mean, but haven't found anything. where can i find the meanings of the error messages? _

Re: [R] installing and using a package

2008-01-10 Thread jpolo
> R distinguishes between "installing" and "loading" a package. It looks > like your installation of yags went fine. Now type > library(yags) > to load the package. > now help(yags) should bring up something, as should example(yags) . that helped. thank you john __

Re: [R] installing and using a package

2008-01-10 Thread jpolo
>> -Original Message- > You need to read the "An Introduction to R" manual which was probably > installed when you installed R on your un-named OS (Windows, I take it). yes, i did find what i needed there. thanks you. john __ R-help@r-project.

Re: [R] installing and using a package

2008-01-10 Thread jpolo
> I'm not sure what you have done but using a package requires two steps: > 1) installing or downloading the package, > 2) loading an installed package. > > Since you are using windows you can click on Packages, Install packages, > and > after choosing a CRAN mirror, selecting the package you want.

Re: [R] error message translation

2008-01-10 Thread jpolo
> Do you mean expansions on the terse messages, or translations from > another language? There aren't really any expansions available: the > messages are supposed to be clear in themselves. If you really want to > know why you got one you might be able to look it up in the source code, > but gen