plot_dropout_relationship: Plot the dropout relationship

View source: R/mfa.R

plot_dropout_relationshipR 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)

kieranrcampbell/mfa documentation built on March 27, 2022, 5:20 a.m.