Plots the (discrete) covariate profiles, facetted by covariate,
similar to the layout in plotRiskProfile
.
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_levels |
Vector of integer values taken by the (discrete) covariates, specifying the order of the facets. |
covariate_labels |
Vector of strings giving labels for each
level of the covariate, in the same order as |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.