Skip to contents

Residual Generic Residual calculation function

Usage

Residual(x, df, ...)

Arguments

x

result object from a regression, class coxres or poisres

df

a data.table containing the columns of interest

...

extended for other necessary parameters