search for: mpoint

Displaying 2 results from an estimated 2 matches for "mpoint".

Did you mean: point
2009 Feb 02
0
Polyline toMicrosoft() change
...to have all the power that a VEShape has, for instance fill color. Below is the new code, if you want to use it, change it, or whatever. Cheers, Beta /** * toMicrosoft returns a Microsoft polyline * @returns a VEShape */ Polyline.prototype.toMicrosoft = function() { var mpolyline; var mpoints = []; for (var i = 0, length = this.points.length ; i< length; i++){ mpoints.push(this.points[i].toMicrosoft()); } var color; var opacity = this.opacity ||1.0; if(this.color){ color = new VEColor(parseInt(this.color.substr(1,2),16),parseInt(this.color.substr...
2016 Apr 15
0
Difficulty with LRSM Rasch analysis with eRm package in R.
...ot get it to work. The primary problems I am having are: 1. Without a matrix, I get an error: Error in `rownames<-`(`*tmp*`, value = betanames) : length of 'dimnames' [1] not equal to array extent This is from these commands: rGrps = c(rep.int(1, nrow(X))) results.LRSM <- LRSM(X, mpoints = 1, groupvec = rGrps, se = TRUE) 2. I don't know how to make a design matrix myself. I tried making one with 1's along the diagonal, but it doesn't seem to work. I get an error: Error in likLR(X, W, mpoints, groupvec, model, st.err = se, sum0, etaStart) : Mismatch between number o...