parboot {unmarked}R Documentation

Evaluate goodness-of-fit of a fitted model.

Description

Evaluate goodness-of-fit of a fitted model.

Arguments

object a fitted model of class "unmarkedFit"
nsim number of bootstrap replicates
report print fit statistic every 'report' iterations during resampling

Examples

data(linetran)
(dbreaksLine <- c(0, 5, 10, 15, 20)) 

lengths <- linetran$Length

ltUMF <- with(linetran, {
        unmarkedFrameDS(y = cbind(dc1, dc2, dc3, dc4), 
        siteCovs = data.frame(Length, area, habitat), dist.breaks = dbreaksLine,
        tlength = lengths*1000, survey = "line", unitsIn = "m")
})

(fm <- distsamp(~ area ~habitat, ltUMF))

(pb <- parboot(fm))
plot(pb)


[Package unmarked version 0.8-1 Index]