Description Usage Arguments Value Note See Also Examples
View source: R/ggm_compare_ppc.default.R
Plot the predictive check with ggridges
1 2 3 4 5 6 7 8 9 |
x |
An object of class |
critical |
Numeric. The 'significance' level
(defaults to |
col_noncritical |
Character string. Fill color for the non-critical region
(defaults to |
col_critical |
Character string. Fill color for the critical region
(defaults to |
point_size |
Numeric. The point size for the observed score
(defaults to |
... |
Currently ignored. |
An object (or list of objects) of class ggplot
.
See ggridges for many examples.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # data
Y <- bfi
#############################
######### global ############
#############################
# males
Ym <- subset(Y, gender == 1,
select = - c(gender, education))
# females
Yf <- subset(Y, gender == 2,
select = - c(gender, education))
global_test <- ggm_compare_ppc(Ym, Yf,
iter = 250,
progress = FALSE)
plot(global_test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.