[R] Hidden Markov model in R: books or tutorial biomed/ecology slant

2008-04-28 Thread Zu Thur Yew
Hi, I was just wondering if there are any books on R that have applications using Hidden Markov models or anyone with tutorials/exercises that can be shared. Ideally, these would have a bio/ecological slant though not neccesarily. Any suggestions would be appreciated. Thanks! [[alternat

[R] Reading in multiple files in a loop

2008-03-27 Thread Zu Thur Yew
Hi, I'm new to R and want to use it to analyse a number of data files (e.g. 100). I want to read in multiple files in a loop in a specific order (e.g. 1 to 100) and was hoping to do something like: for (r in 1:100) { d1 <-read.table(r.anl) for (r2 in 1:100) { d2 <-read.table(r2.anl) cc