plot_dropout_relationship {mfa}R Documentation

Plot the dropout relationship

Description

Plot the dropout relationship

Usage

plot_dropout_relationship(y, lambda = empirical_lambda(y))

Arguments

y

The input data matrix

lambda

The estimated value of lambda

Value

A ggplot2 plot showing the estimated dropout relationship

Examples

synth <- create_synthetic(C = 20, G = 5, zero_negative = TRUE, model_dropout = TRUE)
lambda <- empirical_lambda(synth$X)
plot_dropout_relationship(synth$X, lambda)

[Package mfa version 1.15.0 Index]