Last chance! 50% off unlimited learning
Sale ends in
Given given fitted Searcher Efficiency and Carcass Persistence models; Search Schedule, Density Weighted Proportion, and Carcass Observation data; and information about the fraction of the the facility that was surveyed.
estM(data_CO, data_SS, data_DWP = NULL, frac = 1,
COdate = "DateFound", model_SE, model_CP, model_DWP = NULL,
unitCol = NULL, SSdate = NULL, sizeCol = NULL, IDcol = NULL,
DWPCol = NULL, nsim = 1000, max_intervals = 8)
Carcass Observation data
Search Schedule data
Survey unit (rows) by carcass class (columns) density weighted proportion table
fraction carcasses on ground that was surveyed but not accounted for in DWP
Column name for the date found data
Searcher Efficiency model (or list of models if there are multiple carcass classes)
Carcass Persistence model (or list of models if there are multiple carcass classes)
fitted dwp model (optional)
Column name for the unit indicator (optional)
Column name for the date searched data
Name of colum in data_CO
where the carcass classes
are recorded. Optional. If none provided, it is assumed there is no
distinctions among carcass classes.
column with unique carcass (CO) identifier
Column name for the DWP values in the DWP table when no
carcass class is used and there is more than one column in data_DWP
that could be interpreted as DWP.
the number of simulation draws
maximum number of arrival intervals to consider for each carcass
list of Mhat, Aj, ghat, DWP (by carcass), and Xtot = total number of carcasses observe
# NOT RUN {
# }
# NOT RUN {
data(mock)
model_SE <- pkm(formula_p = p ~ HabitatType, formula_k = k ~ 1,
data = mock$SE
)
model_CP <- cpm(formula_l = l ~ Visibility, formula_s = s ~ Visibility,
data = mock$CP, dist = "weibull",
left = "LastPresentDecimalDays",
right = "FirstAbsentDecimalDays"
)
eM <- estM(nsim = 1000, data_CO = mock$CO, data_SS = mock$SS,
data_DWP = mock$DWP, frac = 1, model_SE = model_SE,
model_CP = model_CP, COdate = "DateFound",
DWPCol = "S", sizeCol = NULL
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab