similar to: Extracting data from dataframe with tied rows

Displaying 20 results from an estimated 100 matches similar to: "Extracting data from dataframe with tied rows"

2009 Mar 02
3
Partial sum of a vector
I am trying to run a loop where I can sum parts of a matrix. For example, I want at each step in the loop to sum the the next 4-values of a vector. I tried to do the following but the result were wrong:   for (i in 4:T) { data_q[i-3,]=sum(data_m[i-3,]:data_m[i,]) }   can anyone please direct me on what should I do to run this loop properly   Thanks in advance [[alternative HTML version deleted]]
2007 Aug 15
1
Problem Connecting to Oracle with R from Windows XP
Hello, I installed RGui 2.5.1 and package DBI on Windows XP and tried to connect to Oracle database which is on a Linux server. When I tried to use dbDriver("Oracle"), I got an error as follows: > drv <- dbDriver("Oracle") Error in do.call(as.character(drvName), list(...)) : could not find function "Oracle" > Could anyone tell me how
2010 Sep 17
1
Data Cube in R from CSV
Hello I am at the moment trying to get to grips with a data cube in R, and I am increasingly wondering whether I am actually making things unnecessarily difficult for myself. The idea is that I have a data cube with three dimensions (so a 3D matrix): companies, figures, and years. So along the z axis the vectors are essentially time series, the horizontals are all about a single figure and the
2007 Nov 23
1
formatting POSIXlt object as strip labels in lattice plot
Dear list, I'm plotting a lattice plot xyplot(Volume ~ Weight | as.character(DateTime)) where DateTime is a POSIXlt object. This produces strip labels in the format e.g. "2007-11-15 23:15:00" and panels are plotted in the correct order. I'd prefer a format "15 Nov 23:15", but if I use format(DateTime,format="%d %b %H:%M") to do the conversion, then the
2008 Nov 14
1
lines.formula with subset
Dear list, When I try to use lines.formula with subset and another argument I get an error. e.g. x<-1:5 y<-c(1,3,NA,2,5) plot(y~x, type="n") # set up frame lines(y~x, subset=!is.na(y)) # works OK lines(y~x, type="o", col="blue") # works OK # but lines(y~x, subset=!is.na(y), col="red") # gives an error: Error in if (length(x) == l) x[s] else x :
2009 Oct 09
4
Trendline for a subset of data
Dear all, I am using abline(lm ...) to insert a linear trendline through a portion of my data (e.g. dataset[,36:45]). However, I am finding that whilst the trendline is correctly displayed and representative of the data portion I've chosen, the line continues to run beyond this data segment and continues until it intersects the vertical axes at each side of the plot. How do I display the
2007 Jul 05
1
select data from large CSV file
Hello I?ve got a large CSV file (>500M) with statistical data. It?s devided in 12 columns and I don?t know how many lines. The second column is the date and the second is a unique code for the location, the rest is (lets say different whether data. See example below. 070704, 25, --,--,--,temperature, 22, --,--,30, 20,Y 070705, 25, --,--,--,temperature, 22, --,--,30, 20,Y 070705, 25,
2009 Jul 15
0
[LLVMdev] Kill-flag in two-address instruction tied operands
On Jul 14, 2009, at 12:10 PM, Jakob Stoklund Olesen wrote: > Hi, > > Two-address instructions are represented as normal three-address > instructions with a Desc bit that indicates the first two operands are > tied together. The question is, should the second operand have a > <kill> flag? > > a: %R0<def> = MUL %R0, %R1<kill> > b: %R0<def> = MUL
2011 Jan 19
0
[LLVMdev] tied registers
Hi, I wonder if there is a simple way to define a 3-address instruction taking 4 operands, ie a 32regA = MAC (32regB, 16regC, 16regD) // widening mac instruction Regs A and B should be handled like "src1 = dst", but this does not work, I get odd results. I wonder also how to generally select instructions when the widths of the input operands differ like this. Thanks, Jonas
2009 Jun 05
1
authentication loosely tied to active directory?
What's the best authentication scheme when you are dealing with an active directory that someone else controls? I've been using pam configured for smb and local passwords where a local account is needed for real logins (but either the domain or local password will work) and web services don't require a local account. That's most of the functionality I want and it doesn't
2019 Jan 30
0
How to use smbpasswd/login when Microsoft Account is tied to Windows login
On Wed, 30 Jan 2019 15:30:04 +0100 Anton Blau via samba <samba at lists.samba.org> wrote: > Hello, > > I try to connect a Windows 10 Microsoft Account which is tied to > Windows login with my (standalone-)Samba-Server. > > With local users i do > > adduser username > > smbpasswd a smbuser > > And this runs for me. > > > But how is to do
2013 Apr 25
0
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
On Apr 25, 2013, at 4:44 AM, Ulrich Weigand <Ulrich.Weigand at de.ibm.com> wrote: > Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote on 24.04.2013 23:47:54: > >> I would like to add one more case here: Fixed register operands. >> >> Some instructions, like x86's MUL and DIV, take operands in fixed >> registers. Currently, we handle that with COPY
2010 Mar 12
1
symbol name caching bug: attributes get tied to symbol names
In R versions 2.10.1 and "2.11.0 Under development (unstable) (2010-03-07 r51225)" on Windows I get the following if I type the commands at the start of the session. Note how the attribute attached to the name "Response" by the initial call to structure() seems to get tied to that name for the remainder of the session: > z <- structure(quote(Response),
2013 Apr 24
0
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
On Apr 23, 2013, at 11:06 AM, Jim Grosbach <grosbach at apple.com> wrote: > There are two core issues. First, the tied operands are an artifact of the way we do instruction selection for the compiler. They’re how we represent read-modify-write operands, basically. The assembler shouldn’t have to know or care about them at all. Specifically, they shouldn’t even be represented at all as an
2009 Jun 15
2
Schoenfeld Residuals with tied data
Dear all, I am struggling with calculation of Schoenfeld residuals of my Cox Ph models. Based on the formula as attached, I calculated the Schoenfeld residuals for both non tied and tied data, respectively. And then I validated my results with R using the same data sets. However, I found that my results for non-tied data was ok but the results for tied data were different from R's. How
2018 Jan 04
1
InstAlias with tied operands - can it be supported?
Hi Daniel, I defined checkEarlyTargetMatchPredicate() to explicitly check for the tied operands, and it worked. I could define an alias like: InstAlias<"oldOP $rd, $rd, $rs1", (NEWOP $rd, $rs1)> However, I had to additionally change AsmMatcherEmitter 'Hack' variable setting to allow the repeated operand $rd in the AsmString. Do you or anyone else know the history
2009 Jul 14
2
[LLVMdev] Kill-flag in two-address instruction tied operands
Hi, Two-address instructions are represented as normal three-address instructions with a Desc bit that indicates the first two operands are tied together. The question is, should the second operand have a <kill> flag? a: %R0<def> = MUL %R0, %R1<kill> b: %R0<def> = MUL %R0<kill>, %R1<kill> I think the current policy is a: There should be no kill-flag.
2017 Dec 15
0
InstAlias with tied operands - can it be supported?
Hi, On Instructions you can use checkEarlyTargetMatchPredicate() to check that the operands are the same. There's an example of that in MipsAsmParser.cpp for DATI and DAHI. I can't think of a reason TableGen couldn't be made to allow this for InstAlias too. > On 15 Dec 2017, at 02:12, via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hello, > > InstAlias
2005 Dec 09
0
RE: (3ware) xen 3.0 amd64 crash... seems to be tied intodisk i/o, > 4 gig ram
> I got a response back from 3ware, as I forwarded Ian''s note to them... > My card(s) is(are) an 8506-4LP I''m not sure about the newer controllers, but the older generation certainly couldn''t do DMA above 4GB, and relied on bounce buffers or GART support. To try and recreate your setup we put an old 3ware controller in a machine with 6GB and have been hitting it
2013 Apr 25
1
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote on 25.04.2013 18:58:05: > On Apr 25, 2013, at 4:44 AM, Ulrich Weigand <Ulrich.Weigand at de.ibm.com> wrote: > > > Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote on 24.04.2013 23:47:54: > > > >> I would like to add one more case here: Fixed register operands. > >> > >> Some