[R] lm with predictor matrix

2004-05-10 Thread Claus Gwiggner
Hello, can someone give me an example of how to fit a linear model where the response is a matrix, please? (other than a loop over lm calls) The ?lm points me to model.matrix but it is not clear to me how to use a model matrix in an lm call. fit-lm(headmatrix ~ tailmatrix) causes

[R] Estimate Covariance Matrix of two vectors

2004-02-09 Thread Claus Gwiggner
Hi, I have m observations of a vector (p1,...,pp) of random variables and another m of a second vector (v1,...,vp) of same length. How can I get an estimation of the covariance matrix for all pairs of variables (pi,vj) ? Thanks. __ [EMAIL PROTECTED]

[R] Binaries for ROracle and V 1.8. needed

2003-11-04 Thread Claus Gwiggner
Sorry for re-posting this message; the first one was lost in another thread. Hi, there is no Oracle Client on my machine (Redhat Linux 9.0/686i, R1.8.0). I cannot thus compile the ROracle package. I read the readme.client file and did: I unziped the package ROracle and copied it into the

[R] Binaries for RORacle and V 1.8. needed

2003-11-03 Thread Claus Gwiggner
Hi, there is no Oracle Client on my machine (Redhat Linux 9.0/686i, R1.8.0). I read the readme.client file and did: I unziped the package ROracle and copied it into the R-library path. I get: library(ROracle) Error in testRversion(descfields) : This package has not been installed properly Who