search for: xtxu

Displaying 1 result from an estimated 1 matches for "xtxu".

Did you mean: xtx
2007 Oct 03
1
inverse of matrix made by low.tri function
...getting the error message like: no b argument and no default value for sprintf(gettext(fmt, domain = domain), ...) . -------------------------------------------------------------------------------------------- # my code X<-Matrix(rep(1,500),100,5) X[lower.tri(X)]<-1-10^-7 XtX<- t(X)%*% X XtXu<-lu(XtX) InverseXtX<-solve(XtXu) --------------------------------------------------------------------------------------------- The cause suggested for this error is that the lower.tri function returns a matrix of logicals. If so, is trying to fix this by using sprintf function a good idea ?...