bayesPO_model-class {bayesPO} | R Documentation |
Class that defines a model for the bayesPO 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 'bayesPO_model'
names(x)
## S4 method for signature 'bayesPO_model'
x$name
## S4 replacement method for signature 'bayesPO_model'
x$name <- value
## S4 method for signature 'bayesPO_model'
show(object)
## S4 method for signature 'bayesPO_model'
print(x, ...)
## S3 method for class 'bayesPO_model'
print(x, ...)
Arguments
x |
The bayesPO_model object. |
name |
The requested slot. |
value |
New value. |
object |
The bayesPO_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.init
A list with objects of class
bayesPO_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
bayesPO_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.
See Also
bayesPO_initial-class
and
bayesPO_prior-class
and bayesPO_model