impute: impute missing continuous expression for plotting

Description Usage Arguments Value Examples

View source: R/predict.R

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

1
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

1
2
##See stat_ell
example(stat_ell)

MAST documentation built on Nov. 8, 2020, 8:19 p.m.