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