lcm_CR_Basic-class | R Documentation |
"lcm_CR_Basic"
MCMC sampler for the Bayesian non-parametric latent class capture-recapture model.
Class "MCMCenviron"
, directly. All reference classes extend and inherit methods from "envRefClass"
.
All fields are read-only.
pointer
:external pointer to the C++ object.
blobsize
:size (in bytes) of the raw object data for serialization. (currently not implemented.)
local_seed
:seed of the internal random number generator.
J
:number of lists in the Capture-Recapture data.
K
:maximum number of latent classes in the model (truncation level of the stick-breaking process).
n
:observed number of individuals.
Captures
:original provided data.
initialize(data_captures, K, a_alpha, b_alpha, in_list_symbol, len_buffer, subsamp)
:Class constructor.
data_captures:
input dataset. A data frame with the multiple-recapture data.
K
:maximum number of latent classes. Indicates the truncation level of the stick-breaking process.
a_alpha
:shape parameter of the prior distribution of concentration parameter of the stick-breaking process.
b_alpha
:inverse scale parameter of the prior distribution of concentration parameter of the stick-breaking process.
in_list_symbol
:factor label that indicates that individual is in list (e.g. 'Yes')
buffer_size
:Size of the tracing buffer.
subsamp
:thinning interval for the tracing buffer.
verbose
:logical. Generate progress messages?
The following methods are inherited (from the corresponding class): Change_SubSamp ("MCMCenviron"), Set_Trace ("MCMCenviron"), Change_Trace_Length ("MCMCenviron"), initialize ("MCMCenviron"), Get_Iteration ("MCMCenviron"), Get_Param ("MCMCenviron"), Reset_Traces ("MCMCenviron"), Get_Status ("MCMCenviron"), Update ("MCMCenviron"), Get_Trace_Size ("MCMCenviron"), Get_Trace ("MCMCenviron"), Get_Trace_List ("MCMCenviron"), Get_Param_List ("MCMCenviron"), Init_Model ("MCMCenviron"), Activate_Tracing ("MCMCenviron"), Deactivate_Tracing ("MCMCenviron"), Set_Seed ("MCMCenviron"), show ("MCMCenviron")
Use the convenience function lcmCR
to create objects of this class. This class inherits most of its functionality from "MCMCenviron"
.
Daniel Manrique-Vallier
lcmCR
, MCMCenviron
.
showClass("lcm_CR_Basic")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.