pamm
doesn't through warning when no offset variable present in data set.
#245
Labels
pamm
doesn't through warning when no offset variable present in data set.
#245
When data is created with
as_ped
, theoffset
variable is automatically included in the data set, so whenpamm
is called, all is good.However, when the ped data is created manually or offset column was deleted somehow, offset will be set to
NULL
implicitly assuming an at risk time of 1 for all subjects and intervals, which in most cases will not make sense.This could occur sometimes, so better to warn users if offset variable is not present (especially since in
pamm
calls, this is not specified so users might not be aware, that offset is needed.The text was updated successfully, but these errors were encountered: