This function defines a truncated Poisson family for use in Generalized Linear Models (GLMs),
where zero values are not allowed. It modifies the Poisson likelihood by excluding zero-count observations.
Usage
ptfamily(link = "log")
Value
An object of class "family" that can be used in glm().
Arguments
link
Character string or a link-glm object specifying the link function. Accepted values are "log", "identity", and "sqrt".