Why don't you just simply read the CSV with read.csv instead of that function in the beginning?
Le ven. 1 avr. 2016 7:36 PM, TimvdStap <[email protected]> a écrit : > Hi everyone, > > I'm working on estimating the population size of Risso's dolphins in the > Azores using mark-recapture data, whereby I take transient individuals into > account (i.e., I estimate a transience-corrected population size). For > this, > I use an R script, as used in Madon et al (2013) (see link to paper at > bottom of this post). Though I feel I have managed to get the script > running, for some reason the transience-corrected population size for my > final year is far *higher* than the original population size. This is > obviously not supposed to happen, but I am unsure as to whether the > transience-corrected population size for my final year is wrong, or the > initial population size. > > Attached I have a sample of my data as a .csv-file, and a word document > with > the R script (as it's too long to post here). Of course I have made some > minor changes to the script to fit my data better. If anyone could have a > look at the script, and possibly tell me where I am going wrong or what I'm > missing, that would be great!!! I have been staring at the script for so > long and trying to figure this one out, that I feel I'd miss even the most > obvious of mistakes at the moment.. > > Any help is greatly appreciated!! > > Kind regards, > > Tim > > > http://onlinelibrary.wiley.com/doi/10.1111/j.1748-7692.2012.00610.x/abstract?userIsAuthenticated=false&deniedAccessCustomisedMessage= > > Risso_example.csv > <http://r.789695.n4.nabble.com/file/n4719206/Risso_example.csv> > Rscript_TvdS.docx > <http://r.789695.n4.nabble.com/file/n4719206/Rscript_TvdS.docx> > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/Correcting-for-transience-in-mark-recapture-data-with-R-tp4719206.html > Sent from the datatable-help mailing list archive at Nabble.com. > _______________________________________________ > datatable-help mailing list > [email protected] > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help >
_______________________________________________ datatable-help mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
