08 PM, Sarah Goslee wrote:
> Hi Nick,
>
> On Tue, May 1, 2012 at 1:56 PM, Nick Switanek wrote:
> > Thank you, Steve and Sarah, for your swift replies.
> >
> > I didn't know about dput(). class() returns "matrix" for A, B, and C, but
> > here:
&g
t;, "f", "g", "h", "i", "j", "k")))
But how do I convert A to the appropriate form for rbinding? Not simply
with as.matrix(). Witness:
> dput(as.matrix(A))
structure(list(1239814462, 1239814601, 14349, 3, 4, 0, 12, 46601,
17801, 124
Good morning,
I'm running into trouble rbind-ing numeric matrices with differing numbers
of rows. In particular, there seem to be issues whenever a one-row numeric
matrix is involved.
Assume A is a numeric matrix with 1 row and Y columns and B is a numeric
matrix with X rows and Y columns. Let C
Tid dfName dfName
> > 1 AES 01-01-02 11:53:00 a b
> > 2 AES 01-01-05\n10:58:00 a b
> > 3 AES 01-01-11 12:30:00 a b
> >
> > This works too as the double dfName no longer exists to confuse the
> heuristic:
> >
> > names
Hello,
I'm having trouble discovering what's going wrong with my use of natural
joins via sqldf.
Following the instructions under 4i at http://code.google.com/p/sqldf/,
which discusses creating indices to speed joins, I have been only unreliably
able to get natural joins to work.
For example,
>
I've recently stumbled across data.table, Matthew Dowle's package. I'm
impressed by the speed of the package in handling operations with large
data.frames, but am a bit overwhelmed with the syntax. I'd like to express
the SQL statement below using data.table operations rather than sqldf (which
was
6 matches
Mail list logo