plot_censoring: Censoring Profile Plot for ggm_cfe Objects

View source: R/ggmcfe.R

plot_censoringR Documentation

Censoring Profile Plot for ggm_cfe Objects

Description

Plots the floor and ceiling proportions for each variable in a ggm_cfe object. Uses ggplot2 if available, otherwise falls back to base graphics.

Usage

plot_censoring(x)

Arguments

x

An object of class "ggm_cfe" as returned by ggm_cfe.

Value

Invisibly returns x.

Examples

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)


DACF documentation built on July 17, 2026, 1:07 a.m.