thank you! (I was on the wrong track, and thinking these would
be "levels".)

Oliver

> In this case where the is only one dimension, the table object is more  
> like a named vector. The first "vector" in your terminology (but would  
> be more accurately called "labels") can be accessed with:
> 
>  names( table(E$singles) )
> 
> If you want the counts without the lables , then just use the unname  
> function:
> 
> unname( table(E$singles) )
> -- 
> David.

______________________________________________
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