new_CdmWithregPoibin: Create an object of class Rcpp_CdmWithregPoibin

Description Usage Arguments Details Value

View source: R/cdm-constructors.R

Description

Create an object of (C++) class Rcpp_CdmWithregPoibin. Objects of class Rcpp_CdmWithregPoibin are cohort-level data models, plus cohort-level data, for a single dataset. The data has a region dimension. The data model is based on a Poisson-binomial mixture.

Usage

1
new_CdmWithregPoibin(counts_data, prob)

Arguments

counts_data

A numeric matrix of non-negative whole numbers. NAs are allowed.

prob

A numeric scalar between 0 and 1 (exclusive).

Details

new_CdmWithregPoibin is an internal function, and should never be needed by end users.

Value

An S4 object with class "Rcpp_CdmWithregPoibin"


ONSdigital/Bayesian-demographic-accounts documentation built on Jan. 10, 2022, 12:34 a.m.