getCall.scampr: getCall function for objects of class 'scampr'

View source: R/getCall.scampr.R

getCall.scamprR Documentation

getCall function for objects of class 'scampr'

Description

get the call from a scampr model

Usage

## S3 method for class 'scampr'
getCall(x, ...)

Arguments

x

a scampr model object

...

Additional arguments to the call, or arguments with changed values

Value

the updated call

Examples

# Get the flora PO data for one of the species
dat_po <- flora$po$sp1

# Attach the quadrature to the PO data
dat_po <- rbind.data.frame(dat_po, flora$quad)

# Fit an IPP model to the point pattern
m.ipp <- scampr(pres ~ MNT + D.Main, dat_po, model.type = "PO")

getCall(m.ipp)

ElliotDovers/scampr documentation built on March 17, 2024, 3:27 p.m.