Hello,

I am running a simple plspm for a class project due later today and I am
receiving the following error despite following along exactly with Gaston
Sanchez's directions in PLS Path Modeling with R:

Error in solve.qr(qr(X.blok), Z[, j]) : singular matrix 'a' in 'solve'

I would greatly appreciate any help resolving this matter.  I got the same
error after changing the inner model matrix to be the same as the model
Sanchez uses in his first example.  The package seems to be working because
innerplot() has worked.  My code is below.

Thanks very much!
-Mitch Hunter


Early = c(0, 0, 0)
Late = c(0, 0, 0)
Weediness = c(1, 1, 0)
wd.inner = rbind(Early, Late, Weediness)
colnames(wd.inner) = rownames(wd.inner)

innerplot(wd.inner, box.size = 0.1)

wd.outer = list(2:5,6:9,10)

wd.modes = c("B", "B", "A")

wd.pls1 = plspm(md, wd.inner, wd.outer, wd.modes)

	[[alternative HTML version deleted]]

