Plots the (discrete) covariate profiles, facetted vertically by cluster and
(optionally) horizontally by some grouping (split
) of the covariates.
Covariate categories that are more common within a cluster than they are
overall are shaded dark; those that are not are shaded light.
1 2 3 |
riskProfObj |
Object of type |
whichCovariates |
A vector of indices or a vector of strings corresponding to the covariates that are to be displayed. |
rhoOrder |
Should covariates be ordered in descending order of |
useProfileStar |
The definition of the star profile is given in Liverani, S., Hastie, D. I. and Richardson, S. (2013) PReMiuM: An R package for Bayesian profile regression. Ignored silently if variable selection was not used. |
covariate_info |
Optional list of details about the covariates, with (some of) the following named elements:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.