new_CdmNoregPoibin: Create an object of class Rcpp_CdmNoregPoibin

Description Usage Arguments Details Value

View source: R/cdm-constructors.R

Description

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

Usage

1
new_CdmNoregPoibin(counts_data, prob)

Arguments

counts_data

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

prob

A numeric scalar between 0 and 1 (exclusive).

Details

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

Value

An S4 object with class "Rcpp_CdmNoregPoibin"


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