View source: R/c212.pm.weights.R
| c212.pointmass.weights | R Documentation | 
This function generate a template for weights for the proposal distribution used to sample theta variables in models which use a point-mass.
	c212.pointmass.weights(trial.data)
trial.data | 
 A file or data frame containing the trial data, either for end of trial or interim analysis.  | 
A dataframe containing the weightings template for each Body-system, adverse event and, if required, interval.
R. Carragher
data(c212.trial.data)
pmw <- c212.pointmass.weights(c212.trial.data)
head(pmw)
## Not run: 
data(c212.trial.data)
pmw <- c212.pointmass.weights(c212.trial.data)
head(pmw)
          B        AE weight_pm
1 Bdy-sys_2  Adv-Ev_5       0.5
2 Bdy-sys_5 Adv-Ev_24       0.5
3 Bdy-sys_6 Adv-Ev_31       0.5
4 Bdy-sys_8 Adv-Ev_42       0.5
5 Bdy-sys_7 Adv-Ev_39       0.5
6 Bdy-sys_6 Adv-Ev_34       0.5
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.