Getting RMark to read a data.frame

posts related to the RMark library, which may not be of general interest to users of 'classic' MARK

Getting RMark to read a data.frame

Postby Rudymena88 » Thu Feb 14, 2019 10:14 pm

Hello all,

This is my first time posting a question so I'll try do things correctly. I'm trying to get RMark to reference a data.frame I made in R when it runs a model. I'm using a code which randomly subsamples from each capture occasion (4 in my case). All the examples I can find show how to read an external file either from an .inp or .csv which isn't ideal in my case since I'll be generating 1000 iterations of estimating N.

Here's an example of my output from running my code:

Code: Select all
> RandomSamples<-data.frame(ch,tag.list)
> RandomSamples
     ch       tag.list
1  1000     M100
2  1000     F167
3  1100     F102
4  1000     F172
5  1100       F1
6  0100      M13
7  0100       F2
8  0100      F98
9  0010     M176
10 0011     F159
11 0010     F156
12 0010     M191
13 0001     F113
14 0001     F195
15 0001      F57]


So essentially I just need RMark to reference this output when running a model. Thanks for any and all help!

-Rudy
Rudymena88
 
Posts: 3
Joined: Thu Feb 14, 2019 9:01 pm

Return to RMark

Who is online

Users browsing this forum: No registered users and 8 guests

cron