search for: ytable

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

Did you mean: table
2012 Jan 15
0
Reading MINE output into a matrix
...uot;,"",pairs_method,fixed=TRUE), max_num_boxes_exponent) x<-read.csv(outputfilename,header=TRUE) #isolate row/col frequencies as a matrix. we need to look at # both to get the complete list of pairs and their respective frequencies xtable<-table(x$X.var) ytable<-table(x$Y.var) #map frequencies of X & Y vars to rows xmap<-xtable[x$X.var] ymap<-ytable[x$Y.var] finalmap<-order(xmap,-ymap,decreasing=TRUE) #fill in matrix - we want the third column for MIC z<-diag(length(levels(x$X.var))+1) z[row(z)>col(z)]<-x[finalmap,3] z<-z+t(z)...