similar to: two columns into one

Displaying 20 results from an estimated 800 matches similar to: "two columns into one"

2010 Jun 03
4
data-management: Rowwise NA
Dear RĀ“ers.. In this mock dataset how can I generate a logical variable based on whether just tes or tes3 are NA in each row?? test<-sample(c("A",NA,"B"),100,replace=T) test2<-sample(c("A",NA,"B"),100,replace=T) test3<-sample(c("A",NA,"B"),100,replace=T) tes<-cbind(test,test2,test3)
2006 Aug 20
4
[LLVMdev] bytecode didn't read correctly under cygwin
Hi! I'm trying to run "llc" tool on files from "test" subdirectory of LLVM root. I compile source files with the following line: llvm-gcc -c -ocompiled.o ackermann.c Then I run llc like the following: llc compiled.o which outputs llc: bytecode didn't read correctly (I mean, I try it with different options but even the default ones aint working) My llvm-gcc
2006 Aug 20
1
[LLVMdev] make builds Release configuration by default
Hi! I'm installing LLVM under Debian Linux. I've installed llvm-gcc3 binaries and am trying to build LLVM. I run make command from llvmobjdir and it builds Release configuration. I didn't set ENABLE_OPTIMIZED variable to 1 and I didn't configure LLVM with --enable-optimized switch. What can cause building Release configuration and how can I switch to Debug one? Thanks. Tony.
2009 Mar 03
1
zoo and coredata() classes
Hi guys I have a reasonably basic question with zoo usage, but I havent been able to find a satisfactory workaround yet. Heres a simple example of what I'm talking about (the following data frame contains numeric columns that contains NAs): > head(ebs) time src tstamp code bid ask 1 2009-03-03 13:03:29.536 perf.Tib_listener 14980321164 EBS.REC.EURJPY=EBS.NaE 123.48 NA 2 2009-03-03
2006 Aug 21
2
[LLVMdev] Recalculating live intervals
So what addIntervalsToSpills returns are new intervals to allocate with infinite weights, right? And I need not to allocate the old interval. Should hasStackSlot return true on its register then? On 8/21/06, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote: > > > Well, someone correct me if am wrong, but, you still have to allocate > physical registers to them,
2011 Apr 27
1
ctree and survival problem
Dear all, I was intrigued by the ctree command and wanted to check it out. I first ran the demo with example(ctree) and did get the survival graphs in the end. Upon doing this with my own data and yielding a "Invalid operation on a survival time" I tried to rerun example(ctree) and now I also get "Invalid operation on a survival time" after the example runs plot(GBSG2ct)...
2010 Jun 16
5
Latex and r
Dear R?ers I?m trying to get a summary table using latex and summary in the rms package to no avail. I?m running R 2.10.1, Mac OS X snow leopard and I have the mactex 2009 distribution installed. Any obvious things I?m missing? //M options(digits=3) set.seed(173) sex <- factor(sample(c("m","f"), 500, rep=TRUE)) age <- rnorm(500, 50, 5) treatment <-
2018 May 22
2
Nelson-Aalen Estimator in R: Error Message
Dear all, Currently, I am doing a research project about serum sodium levels and falling. I am doing my analysis in R. I am performing the multiple imputation right now. I want to perform a survival analysis later, but therefore I need to specify the Nelson-Aalen estimator. My dataset is called DF1, the event indicator is Falls and the time variable is Time. The code that I use is as follows:
2005 Oct 16
1
measurement error model - "simple" linear regression
Dear friends, I found the thread on this subject this summer but wonder whether it has been taken any further. I have an important medical problem where X is computed from a three independent and complicated measurements (exchangeable sodium and potassium and total body water - i.e. X = (Nae+Ke)/TBW ) and Y is serum sodium concentration (all data in Edelman, JCI 1958). I have the individual
2018 May 22
0
Nelson-Aalen Estimator in R: Error Message
Hard to tell from the info you are giving us. I assume this regards the "mice" package? One way to proceed is to set options(error=recover) which will dump you into the browser() environment when the error occurs and you can oka around and see what the value of variables was at the point of the error. This could give you a clue about what is going on. -pd > On 22 May 2018, at 15:29
2006 Aug 20
0
[LLVMdev] bytecode didn't read correctly under cygwin
Tony, By default, llvm-gcc4 does not produce bytecode, it produces a native object file, just like GCC does. So, if you try to pass it to llc, it is obviously going to report problems with the bytecode. Either skip the llc step or use the -emit-llvm option: llvm-gcc -c -emit-llvm -o compiled.o ackermann.c llc compiled.o -o compiled.s Reid. On Sun, 2006-08-20 at 20:26 +0400, Anton Vayvod wrote:
2006 Aug 22
0
[LLVMdev] Adding register allocator to LLVM
I managed to link my RegAlloc.a library to llc tool but can;t make the same with lli tool. Should I use USEDLIBS variable in lli makefile (like llc) or there is another way? On 8/20/06, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote: > > > Dear Anton, > > you can add your register allocator strait iin the > "lib/CodeGen/Passes.cpp", and then
2006 Aug 21
0
[LLVMdev] Recalculating live intervals
Well, someone correct me if am wrong, but, you still have to allocate physical registers to them, because their values must be reloaded before been used. But after you spill a register, you break its live ranges, so, each use of that register can be loaded into a different physical. In my register allocator, after I spill reg_v: For each use of reg_v: create a new reg_v' replace reg_v
2006 Aug 24
1
[LLVMdev] strlcpy
The current CVS version doesn't compile on Linux: MachOWriter.h:583: error: 'strlcpy' was not declared in this scope Rafael
2006 Aug 20
0
[LLVMdev] Adding register allocator to LLVM
Hi! I've did what Jim Laskey wrote but llc didn't reckognize my regalloc option. So I moved my allocator implementation into seperate folder within CodeGen and wrote separate makefile for it (like in "Writing an LLVM pass" tutorial). But when I run "make" from LLVMOBJDIR it doesn't enter the RegAlloc directory and when linking llc an error like
2006 Aug 20
2
[LLVMdev] Adding register allocator to LLVM
Dear Anton, you can add your register allocator strait iin the "lib/CodeGen/Passes.cpp", and then 're-make' it: "makellvm llc", on the top of lib/CodeGen. It is faster than running make from LLVMOBJDIR. The problem is that it only add to llc the changes on the lib/CodeGen directory. If you change other parts, a make from LLVMOBJDIR will synchronize it. Try adding
2006 Aug 21
2
[LLVMdev] Recalculating live intervals
On 8/7/06, Chris Lattner <sabre at nondot.org> wrote: > > On Sun, 6 Aug 2006, Anton Vayvod wrote: > > I'm developing a register allocator that works iteratively. It spills > some > > virtual registers on each iteration until all the rest have physical > ones > > assigned. > > Take a look at the linear scan allocator. It is also iterative: it uses >
2006 Aug 03
3
[LLVMdev] Adding register allocator to LLVM
On Thu, 3 Aug 2006, Jim Laskey wrote: > To force the load/linking of your register allocator into the llc/lli tools, > add your create function's global declaration to "Passes.h" and add a > "pseudo" call line to "llvm/Codegen/LinkAllCodegenComponents.h" . Another note: with this new functionality you should be able to dynamically load register
2006 Sep 01
3
[LLVMdev] Testing a register allocator
Hi! I developed a register allocator within LLVM and now I need to test its efficiency. Can I do this using llvm-test package? Do llvm tests check all available regalloc options automatically? If not, then what modifications should I do to the test files? It would be great if I could test my algo along with linearscan and compare the results. Thanks. Tony. -- "Nae king! Nae quin! Nae
2006 Aug 21
0
[LLVMdev] Recalculating live intervals
> So what addIntervalsToSpills returns are new intervals to allocate with > infinite weights, right? > And I need not to allocate the old interval. Should hasStackSlot return true > on its register then? > I am not very sure about addIntervalsToSpill, but, for all the registers created to replace a spilled registers, they must have a stack slot assigned to them. I am sending you my