Re: [R] Discriminant Correspondence Analysis

2010-12-14 Thread Bastiaan Bergman
Read files, if you're on windows remember to include the path like this: "C:\\Documents and Settings\\USER\\My Documents\\MyFile.csv" -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Wayne Sawtell Sent: Tuesday, December 14, 2010 12:3

Re: [R] multivariate multi regression

2010-12-13 Thread Bastiaan Bergman
Angle Length(dX)==length(dY)==length(X)==length(Y)==number of measured sites on a wafer Hope this clarifies... -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Monday, December 13, 2010 6:06 PM To: Bastiaan Bergman Cc: r-help@r-project.org Subject: Re: [R] multiva

[R] multivariate multi regression

2010-12-13 Thread Bastiaan Bergman
Hello, I want to model my data with the following model: Y1=X1*coef1+X2*coef2 Y2=X1*coef2+X2*coef3 Note: coef2 appears in both lines Xi, Yi is input versus output data respectively How can I do this in R? I got this far: lm(Y1~X1+X2,mydata) now how do I add the second line of t