Daniel Gates
unread,Jun 5, 2012, 6:01:16 PM6/5/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to treevo-...@googlegroups.com
Greetings all, I was working through the doSimulation code and I had a quick simple question that I couldn't find on line or any of my R books. Is there a way to index the objects within a list (like taxon) to show specified elements. For example if taxon is a list of length 20 can I use something like taxon[[1:5]] to see elements 1-5 in the list, especially in the capacity of states(taxon[[1:5]]) to get just a list of the states of elements 1-5 in the list "taxon"?
Let me know if this makes sense to you,
Cheers!
-Dan