get_gfun function

Estimated g function for a Fitted Model Object

Estimated g function for a Fitted Model Object

Calculates the estimated g function for a fitted ocm object

get_gfun(object, ...) ## S3 method for class 'ocm' get_gfun(object, ...)

Arguments

  • object: an ocm object
  • ...: further arguments to be passed to methods

Returns

a dataframe containing four columns: the values of the score v, the estimated g function and the 95%CIs

NULL

Examples

## Not run: fit.overall <- ocm(overall ~ cycleno + age + bsa + treatment, data=ANZ0001.sub, scale=c(0,100)) get_gfun(fit.overall) ## End(Not run)

See Also

ocm

Author(s)

Maurizio Manuguerra, Gillian Heller

  • Maintainer: Maurizio Manuguerra
  • License: GPL (>= 2)
  • Last published: 2020-12-02

Useful links