Oliver Bandel <oliver <at> first.in-berlin.de> writes:

[...]
> 
> P.S.: I will try to attach my zip-file now... it contains
>       the complete code and a changed weblog (changed IP-addresses).
>       I hope the list accepts it.
[...]

As assumed, this did not work.

But I found, where the problem might be located...


With a smalle testfile I tried this after
running my script:

===============================================
> levels(selected$host)
[1] "22.99.44.101"   "266.249.71.143" "5.66.61.230"    "66.29.1.13"    
[5] "7.6.1.20"       "7.6.14.240"    
> 
> 
> levels(selected$host) <- factor(selected$host)
> 
> levels(selected$host)
[1] "7.6.1.20"    "7.6.14.240"  "5.66.61.230"
> 
> 
===============================================

So, somehow there are unused levels inside.
Using drop=TRUE in split() did not helped.
So I have somewhere later to fix it.

But when I do it before tapply, there will be an error-message...

Ciao,
   Oliver

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to