pompp_model-class {pompp} | R Documentation |
Class that defines a model for the pompp package.
Description
The model includes the presence-only data, all selected variables, the link
functions for q
and p
, the initial values and the prior
distribution.
Usage
## S4 method for signature 'pompp_model'
names(x)
## S4 method for signature 'pompp_model'
x$name
## S4 replacement method for signature 'pompp_model'
x$name <- value
## S4 method for signature 'pompp_model'
show(object)
## S4 method for signature 'pompp_model'
print(x, ...)
## S3 method for class 'pompp_model'
print(x, ...)
Arguments
x |
The pompp_model object. |
name |
The requested slot. |
value |
New value. |
object |
The pompp_model object. |
... |
Currently unused. |
Value
names
: A character vector with possible options
for the `$`
and `$<-`
methods.
`$`
: The requested slot's value.
`$<-`
: The new object with the updated slot.
show
and print
: The invisible object.
Fields
po
The matrix containing the covariates values for the data.
intensityLink
A string informing about the chosen link for the intensity covariates. Current acceptable choice is only
"logit"
.intensitySelection
A vector containing the indexes of the selected intensity columns in the
po
matrix.observabilityLink
A string informing about the chosen link for the observability covariates. Current acceptable choice is only
"logit"
.observabilitySelection
A vector containing the indexes of the selected observability columns in the
po
matrix.marksSelection
A single value containing the index of the selected marks column in the
po
matrix.coordinates
A vector of two values containing the column positions of the longitude and latitude in the
po
matrix.init
A list with objects of class
pompp_initial
indicating the initial values for each chain. The length of this list tells the program how many chains are requested to be run.prior
An object of class
pompp_prior
which indicates the joint prior distribution for the model parameters.iSelectedColumns
If the intensity covariates selection was made with the name of the columns, they are stored in this slot.
oSelectedColumns
If the observability covariates selection was made with the name of the columns, they are stored in this slot.
mSelectedColumns
If the marks selection was made with the name of the column, it is stored in this slot.
See Also
pompp_initial-class
and
pompp_prior-class
and pompp_model