laplace_transform {frailtyEM} | R Documentation |
Laplace transform calculation
Description
Laplace transform calculation
Usage
laplace_transform(x, distribution)
Arguments
x |
A vector of positive values where to calculate the Laplace transform |
distribution |
An |
Details
This is a simple function which calculates the Laplace transform for the gamma, positive stable and PVF distribution.
It is intended to be used to calculate marginal quantities from an emfrail
object.
Note that the left_truncation
argument is ignored here;
the marginal survival or hazard are given for the Laplace transform of a baseline subject entered at time 0.
Value
A vector of the same length as x
with the Laplace transform of x
[Package frailtyEM version 1.0.1 Index]