Learn R Programming

unmarked (version 1.4.3)

fitted-methods: Methods for Function fitted in Package `unmarked'

Description

Extracted fitted values from a fitted model.

Usage

# S4 method for unmarkedFit
fitted(object, na.rm = FALSE)
# S4 method for unmarkedFitColExt
fitted(object, na.rm = FALSE)
# S4 method for unmarkedFitOccu
fitted(object, na.rm = FALSE)
# S4 method for unmarkedFitOccuRN
fitted(object, K, na.rm = FALSE)
# S4 method for unmarkedFitPCount
fitted(object, K, na.rm = FALSE)
# S4 method for unmarkedFitDS
fitted(object, na.rm = FALSE)

Value

Returns a matrix of expected values

Arguments

object

A fitted model of appropriate S4 class

K

Integer specifying upper bound of integration.

na.rm

Logical. Should missing values be removed from data?

Methods

object = "unmarkedFit"

A fitted model

object = "unmarkedFitColExt"

A model fit by colext

object = "unmarkedFitOccu"

A model fit by occu

object = "unmarkedFitOccuRN"

A model fit by occuRN

object = "unmarkedFitPCount"

A model fit by pcount

object = "unmarkedFitDS"

A model fit by distsamp