plot_model {mgee2}R Documentation

plot_model

Description

This function gives plot of the odds ratio or shows the iteration for convergence.

Usage

plot_model(x, conv = FALSE)

Arguments

x

results from the fitted model.

conv

defulated for odds ratio plot, otherwise show the iteration plot.

Value

plot odds ratio with CIs or plot of the iterations.

Examples

 beta=c(0.1,0.2,0.3)
 alpha=c(0.4,0.5)
 variance=c(0.8,0.5,0.7,0.3,0.4)
 x=list(beta,alpha,variance)
 names(x)=c("beta","alpha","variance")
 plot_model(x)

[Package mgee2 version 0.5 Index]