[datatable-help] Correcting for transience in mark-recapture data with R

TimvdStap timvanderstap89 at gmail.com
Sat Apr 2 01:48:21 CEST 2016


Hi Yasir,

For now, I am trying to run the script as identical as possible as the way
Madon and her colleagues ran it in her paper. When I removed the
function(data=data) it did not change anything to the results, hence why I
just left it as it is.

Cheers, Tim

On Fri, Apr 1, 2016 at 4:35 PM, Yasir Kaheil [via R] <
ml-node+s789695n4719208h77 at n4.nabble.com> wrote:

> 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 <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4719208&i=0>> 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
>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4719208&i=1>
>>
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
>>
>
> _______________________________________________
> datatable-help mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4719208&i=2>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
> Yasir Kaheil
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://r.789695.n4.nabble.com/Correcting-for-transience-in-mark-recapture-data-with-R-tp4719206p4719208.html
> To unsubscribe from Correcting for transience in mark-recapture data with
> R, click here
> <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4719206&code=dGltdmFuZGVyc3RhcDg5QGdtYWlsLmNvbXw0NzE5MjA2fDc1OTgwMzAyOA==>
> .
> NAML
> <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://r.789695.n4.nabble.com/Correcting-for-transience-in-mark-recapture-data-with-R-tp4719206p4719209.html
Sent from the datatable-help mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20160401/2acb5c4d/attachment.html>


More information about the datatable-help mailing list