powered by
Calculates the estimated g function for a fitted ocm object
ocm
get_gfun(object, ...)# S3 method for ocm get_gfun(object, ...)
# S3 method for ocm get_gfun(object, ...)
an ocm object
further arguments to be passed to methods
a dataframe containing four columns: the values of the score v, the estimated g function and the 95%CIs
NULL
# 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