Skip to content
Back to formatted view

Raw Message

Message-ID: <loom.20081220T210830-171@post.gmane.org>
Date: 2008-12-20T21:10:35Z
From: oliver
Subject: How to do indexing after splitting my data-frame?

Hello Jim,


jim holtman <jholtman <at> gmail.com> writes:

> 
> try:
> 
> myindex <- "01-Dec-2008"
> 
> weblog_by_date[[myindex]]$host
[...]


Ooops yes, that works!

Thank you!

I don't know why this works, and the other thing not.

I thought the difference between [] and [[]] is just,
that the one gives back a list and the other grabs out the
values of a list by "unlist"ing it... so that one gets a vector instead of a
complete list.


Ciao,
   oliver