sample_parameters: Sample parameters from their weighted distributions given a...

View source: R/AMIS_outputs.R

sample_parametersR Documentation

Sample parameters from their weighted distributions given a model fitted by amis()

Description

Sample parameters from their weighted distributions given a model fitted by amis()

Usage

sample_parameters(x, n_samples = 200, locations = 1)

Arguments

x

The output from the function amis().

n_samples

Number of samples to draw. Default to 200.

locations

Integer identifying the locations. Default to 1.

Details

For illustrative examples, see amis().

Value

Matrix with parameter values and corresponding prevalences for each location.


AMISforInfectiousDiseases documentation built on April 4, 2025, 1:45 a.m.