| plot_censoring | R Documentation |
Plots the floor and ceiling proportions for each variable in a
ggm_cfe object. Uses ggplot2 if available, otherwise
falls back to base graphics.
plot_censoring(x)
x |
An object of class |
Invisibly returns x.
set.seed(42)
Y <- MASS::mvrnorm(200, rep(0, 5), diag(5) + 0.3)
Y_cens <- pmin(Y, 1.0)
fit <- ggm_cfe(Y_cens, floor = NULL, ceiling = 1.0)
plot_censoring(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.