laplace_transform function

Laplace transform calculation

Laplace transform calculation

laplace_transform(x, distribution)

Arguments

  • x: A vector of positive values where to calculate the Laplace transform
  • distribution: An emfrail_dist object. See ?emfrail_dist.

Returns

A vector of the same length as x with the Laplace transform of x

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.

  • Maintainer: Theodor Adrian Balan
  • License: GPL (>= 2)
  • Last published: 2019-09-22