Learn R Programming

MixtureRegLTIC (version 1.0.0)

printMixture: Print the Summary Table of Regression Results

Description

Print the summary table of regression results from the output of mixture regression models

Usage

printMixture(fit, digits = 3, file = NULL)

Arguments

fit

the output object from the fitted mixture regression model.

digits

an integer indicating the number of decimal places after rounding.

file

a character string of output filename for saving the table of regression results.

See Also

MixtureLogitAFT

Examples

Run this code
# NOT RUN {
data(simLTICdataA)

##### fit the logistic-AFT location-scale model for LTIC data
fit=MixtureLogitAFT(formula=Surv(time1,time2,status)~1,
    eventprobreg=~X1,locationreg=~X1,scalereg=~X1,
    var.entry="entry",data=simLTICdataA)

##### print regression results of the fitted model
printMixture(fit)

# }

Run the code above in your browser using DataLab