tapply(unlist(t0),unlist(t0),function(x){names(x)})

Here is a minor shortening of that solution:

tapply(t0, unlist(t0), names)

相关文章:

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 
© 2012 刘思喆 @ 贝吉塔行星 Suffusion theme by Sayontan Sinha