extract-methods: Methods for bracket extraction [ in Package 'unmarked'

[-methodsR Documentation

Methods for bracket extraction [ in Package ‘unmarked’

Description

Methods for bracket extraction [ in Package ‘unmarked’

Usage

## S4 method for signature 'unmarkedEstimateList,ANY,ANY,ANY'
x[i, j, drop]
## S4 method for signature 'unmarkedFit,ANY,ANY,ANY'
x[i, j, drop]
## S4 method for signature 
## 'unmarkedFrame,numericOrLogical,numericOrLogical,missing'
x[i, j]

Arguments

x

Object of appropriate S4 class

i

Site numbers or a vector of TRUE/FALSE

j

Observation numbers (occasions or primary periods) or a vector of TRUE/FALSE

drop

Not currently used

Methods

x = "unmarkedEstimateList", i = "ANY", j = "ANY", drop = "ANY"

Extract a unmarkedEstimate object from an unmarkedEstimateList by name (either 'det' or 'state')

x = "unmarkedFit", i = "ANY", j = "ANY", drop = "ANY"

Extract a unmarkedEstimate object from an unmarkedFit by name (either 'det' or 'state')

x = "unmarkedFrame", i = "numericOrLogical", j = "numericOrLogical", drop = "missing"

Extract sites and/or observations from an unmarkedFrame

Examples


data(mallard)
mallardUMF <- unmarkedFramePCount(mallard.y, siteCovs = mallard.site,
	obsCovs = mallard.obs)
summary(mallardUMF)

mallardUMF[1:5,]
mallardUMF[,1:2]
mallardUMF[1:5, 1:2]


unmarked documentation built on Nov. 5, 2025, 6:11 p.m.