Learn R Programming

ordinalCont (version 2.0.2)

get_gfun: Estimated g function for a Fitted Model Object

Description

Calculates the estimated g function for a fitted ocm object

Usage

get_gfun(object, ...)

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

Arguments

object

an ocm object

...

further arguments to be passed to methods

Value

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

NULL

See Also

ocm

Examples

Run this code
# NOT RUN {
fit.overall  <- ocm(overall  ~ cycleno + age + bsa + treatment, data=ANZ0001.sub, scale=c(0,100))
get_gfun(fit.overall)
# }

Run the code above in your browser using DataLab