Hi, I have worked long and hard and looked in the manuals and am having a hard time constructing a diagonal matrix. I can get the diagonals out of a matrix but can't construct the matrix with just the diagonals. I have been on the web site and manuals and I think that it says to use: dsj <- diag (three = 1, nrow, ncol = 7) three is the name of my matrix and dsj is where I'm trying to put it but it comes back: unused argument(s) (three ...) every time that I try it. Am I doing something wrong in trying to make this matrix? Thank you very much for your time, Chris Ryan Christopher W. Ryan Black Bear Project Leader West Virginia Division of Natural Resources Capitol Complex, Bldg 3, Rm 824 Charleston, WV 25305
[[alternative HTML version deleted]] ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html