View source: R/compare_group.R
compare_group | R Documentation |
Compute the differences of the random effects for variables from two groups.
compare_group(GCMlasso_obj = GCMlasso_obj, grp1, grp2, var, credible_level = 0.95)
GCMlasso_obj |
|
grp1 |
levels in the cluster variable that belong to group1. |
grp2 |
levels in the cluster variable that belong to group2. |
var |
variables to be compared. |
credible_level |
level of the credible interval. |
Posterior means and credible intervals of the differences of variables in two groups.
compare_group(GCMlasso_obj=GCMlasso_obj,grp1=1:2,grp2=3:4, var=1:15,credible_level=0.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.