search for: x1234

Displaying 3 results from an estimated 3 matches for "x1234".

Did you mean: 1234
2007 Apr 05
1
Generate a serie of new vars that correlate with existingvar
...coefs : vector o ndistr correl. coeffs CorelSets<-function(x1= rnorm(100, 15, 5),ndistr=3, coefs=c(0.4,0.5,0.6)){ # x2, x3, and x4 in a matrix, these will be modified to meet the criteria x234 <- scale(matrix( rnorm(ndistr*length(x1)), ncol=ndistr )) # put all into 1 matrix for simplicity x1234 <- cbind(scale(x1),x234) # find the current correlation matrix c1 <- var(x1234) # cholesky decomposition to get independence chol1 <- solve(chol(c1)) newx <- x1234 %*% chol1 # check that we have independence and x1 unchanged zapsmall(cor(newx)) all.equal( x1234[,1], newx[,1] ) # c...
2010 Apr 20
1
Serial connections?
Does anybody know if there is any support to read from serial ports? I just got an arduino, and wanted to write some scripts for working with real time streaming sensor data... In base::connections documentation, it's not clear if there's an easy way to do this? Any ideas on hacking it? I'm open to win/linux/mac solutions. I'm not sure how sockets work, but possibly there is a
2010 Apr 14
1
Ring Two Extensions Simultaneously with different caller ID values?
...was for. Is there any way to feed different caller ID information to both sets while keeping them ringing simultaneously? My idea is to prefix the called extension to the name field (so as not to break redial/callback features on the phones) For example, call from John Smith (x2789) to Jane Doe (x1234) would ring Jane's desk, the nearest conference room, and kitchen phones and present the caller ID as "John Smith" in her office, but "1234>John Smith" or something similar on the common area phones. Regardless of the advisability of implementing this in real life, does...