Displaying 2 results from an estimated 2 matches for "nindic".
Did you mean:
indic
2006 Oct 12
0
Privates example? (fwd)
...ndexCount = 0;
- w->texCoordSize = 4;
+ aw->indexCount = 0;
+ aw->texCoordSize = 4;
}
- vSize = 2 + w->texUnits * w->texCoordSize;
+ vSize = 2 + w->texUnits * aw->texCoordSize;
nVertices = w->vCount;
- nIndices = w->indexCount;
+ nIndices = aw->indexCount;
v = w->vertices + (nVertices * vSize);
i = w->indices + nIndices;
@@ -3523,7 +3532,7 @@
}
}
w->vCount = nVertices;
- w->indexCount = nIndices;
+ aw->indexCoun...
2012 Aug 13
0
rjags error. Error parsing model file:,syntax error on line 5 near ""
...alysis model in rjags and have
received the following error
Error parsing model file: syntax error on line 5 near ""
Line 5 is model {
Here is my syntax. Any insight would be greatly appreciated.
require(rjags)
modelstring = "
model {
for (i in 1 : nData) {
for (j in 1 : nIndicators) {
y[i,j] ~ dnorm(mu[i,j],psi[j])
ephat[i,j] <- y[i,j] - mu[i,j]
}
mu[i,1] <- alpha[1]+xi[i,1] # Factor 1
mu[i,2] <- alpha[2]+lam[2]*xi[i,1]
mu[i,3] <- alpha[3]+lam[3]*xi[i,1]
mu[i,4] <- alpha[4]+lam[4]*xi[i,1]
mu[i,5] <- alpha[5]+lam[5]*xi[i,1]
mu[i,6]...