nestAbund.sim {nestAbund2} | R Documentation |
This function is used to simulate and analyze nest abund. data, for a given model
nestAbund.sim( ncpu = 1, nsims = 1, C = 500, phi_int = 5, phi_cattle = 0, phi_stage = 0, phi_robel = 0, p_int = -1, p_cattle = 0, p_stage = 0, p_robel = 0, pi_cattle = 0.5, m_rob = 1.8, s_rob = 1, m_a1 = 0, s_a1 = 5, modl = "Phi()P()GAU" )
ncpu |
(1) number of cpu cores to use |
nsims |
(1) number of simulations to do |
C |
(500) number of nests (including ones that wont be detected) |
phi_int |
(5) beta intercept for phi (survival) |
phi_cattle |
(0) beta for cattle effect on phi |
phi_stage |
(0) beta for stage effect on phi |
phi_robel |
(0) beta for robel effect on robel |
p_int |
(-1) beta intercept for p (detection) |
p_cattle |
(0) beta for cattle effect on p |
p_stage |
(0) beta for stage effect on p |
p_robel |
(0) beta for robel effect on p |
pi_cattle |
(0.5) proportion of nests with cattle |
m_rob |
(1.8) mean value of robel covariate |
s_rob |
(1) std.dev of robel covariate |
m_a1 |
(0) mean value of age at first visit |
s_a1 |
(5) std.dev of age at first visit |
Output for the model is saved in file.
nestAbund_Phi(xxx)P(xxx)YYY.out
text output from model
where xxx denotes model chosen, YYY denotes the distribution chosen.
returns nothing.
J. Hines
nestAbund.gui
, nestAbund.runmod
## Not run: nestAbund.sim() # without arguments, a graphic user-interface is displayed ## End(Not run)