Description Usage Arguments Value Author(s) Examples
View source: R/bhpm.pm.weights.R
This function generate a template for weights for the proposal distribution used to sample theta variables in models which use a point-mass.
1 | bhpm.pointmass.weights(cluster.data)
|
cluster.data |
A file or data frame containing the cluster data for analysis. |
A dataframe containing the weightings template for each outcome grouping, outcome and, if required, cluster.
R. Carragher
1 2 3 | data(bhpm.cluster.data1)
pmw <- bhpm.pointmass.weights(bhpm.cluster.data1)
head(pmw, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.