impute: impute missing continuous expression for plotting

View source: R/predict.R

imputeR Documentation

impute missing continuous expression for plotting

Description

If there are no positive observations for a contrast, it is generally not estimible. However, for the purposes of testing we can replace it with the least favorable value with respect to the contrasts that are defined.

Usage

impute(object, groupby)

Arguments

object

Output of predict

groupby

Variables (column names in predict) to group by for imputation (facets of the plot)

Value

data.table

Examples

##See stat_ell
example(stat_ell)

RGLab/MAST documentation built on Sept. 30, 2023, 1:08 p.m.