search for: getlevels

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

Did you mean: getxlevels
2011 Oct 07
1
Unexpected behavior of extract (`[`) or sapply functions
...um 1 in factor.cols = c(1,2). Any help or suggestions would be greatly appreciated. Sincerely, andrewH # Test Data test.df <- data.frame(AA=rep(LETTERS[1:2], c(6,6)),BB=rep(LETTERS[3:5], c(4,4,4)), CC=rep(LETTERS[6:9],c(3,3,3,3)), DD=c(1:12)) # The function getLevels <- function(data.df, factor.cols, data.col){ test.levels <- sapply(test.df[,factor.cols, drop=F], levels) cat("test.levels:\n"); print(test.levels) no.levels <- sapply(sapply(data.df[,factor.cols, drop=F], levels), length) cat("no.levels:\n"); print(no.levels) } # Run...
2017 Jul 17
2
An update on the DominatorTree and incremental dominators
Hi folks, For the past month I’ve been working on improving the DominatorTree and PostDominatorTree in LLVM. The RFC that explains the motivations and plans can be found here: http://lists.llvm.org/pipermail/llvm-dev/2017-June/114045.html . Here’s a short summary of what changed upstream since posting it: - We switched from the Simple Lengauer-Tarjan algorithm for computing dominators
2010 Nov 14
2
java binding and virtualbox-ose
I'm trying to connect to vbox hypervisor on an Ubuntu 10.04 machine through libvirt java binding (libvirt-java-0.4.6) by simply invoking: Connect conn = new Connect("vbox:///session", false); but I got this exception: libvir: warning : Failed to find the interface: Is the daemon running ? libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock':