bhpm.pointmass.weights {bhpm} | R Documentation |
Generate a template for the point-mass weightings.
Description
This function generate a template for weights for the proposal distribution used to sample theta variables in models which use a point-mass.
Usage
bhpm.pointmass.weights(cluster.data)
Arguments
cluster.data |
A file or data frame containing the cluster data for analysis. |
Value
A dataframe containing the weightings template for each outcome grouping, outcome and, if required, cluster.
Author(s)
R. Carragher
Examples
data(bhpm.cluster.data1)
pmw <- bhpm.pointmass.weights(bhpm.cluster.data1)
head(pmw, 2)
[Package bhpm version 1.7 Index]