Learn R Programming

msme (version 0.5.3)

plot.ml_g_fit: A plot method for objects of class ml_g_fit.

Description

This function provides a four-way plot for fitted models.

Usage

# S3 method for ml_g_fit
plot(x, ...)

Arguments

x

the fitted model.

other arguments, retained for compatibility with generic method.

Value

Run for its side effect of producing a plot object.

Details

The function plots a summary. The output is structured to broadly match the default options of the plot.lm function.

References

Hilbe, J.M., and Robinson, A.P. 2013. Methods of Statistical Model Estimation. Chapman & Hall / CRC.

See Also

ml_g

Examples

Run this code
# NOT RUN {
data(ufc)
ufc <- na.omit(ufc)

ufc.g.reg <- ml_g(height.m ~ dbh.cm, data = ufc)

plot(ufc.g.reg)

# }

Run the code above in your browser using DataLab