Skip to contents

Validates time.var and group.var before any plotting is attempted, so that unsuitable input stops with an informative error instead of failing downstream. Both must name factor columns of the data supplied to biplotEZ::biplot(), without missing values.

Usage

check_vars_moveEZ(bp, time.var, group.var)

Arguments

bp

biplot object from biplotEZ

time.var

time variable

group.var

group variable

Value

bp, with unused levels of time.var dropped from bp$raw.X.