Displaying 2 results from an estimated 2 matches for "read_weblog".
2008 Dec 20
2
NA, where no NA should (could!) be!
Hello,
again I'm on my weblog-script... having problems...
This code:
===========================
weblog <- read_weblog("web.log")
weblog_by_date <- split(weblog, weblog$date)
#for ( i in names(weblog_by_day) ) { print(i); print(weblog_by_day$i) }
for ( datum in names(weblog_by_date) )
{
print(datum)
selected <- weblog_by_date[[datum]]
res_size_by_host <- tapply( selected$size, selected$ho...
2008 Dec 20
1
How to do indexing after splitting my data-frame?
Hello,
after splitting a data-frame I want to access the results.
Maybe the problem is, that the factor/index is a string...
...or do I miss knowing details of the index-uasge?
Please look and help:
=======================================
> weblog <- read_weblog("web.log")
>
>
> str(weblog)
'data.frame': 2247 obs. of 18 variables:
$ host : Factor w/ 77 levels "124.0.210.117",..: 23 44 44 23 46 46
26 26 42 32 ...
$ lname : Factor w/ 1 level "-": 1 1 1 1 1 1 1 1 1 1 ...
$ user : Factor w/ 1 lev...