Stack a solved object for things like default ggplot2 plot

rxStack(Data, vars = NULL)

Arguments

Data

is a rxode2 object to be stacked.

vars

Variables to include in stacked data; By default this is all the variables when vars is NULL.

Value

Stacked data with value and trt, where value is the values and trt is the state and lhs variables.

Author

Matthew Fidler