Learn R Programming

geoCount (version 1.150120)

plot_etran: Plot Transformed Residuals

Description

This function plots transformed residuals in different types.

Usage

plot_etran(e.tran, fig = 1:4)

Arguments

e.tran
a vector which indicates the transformed residuals
fig
a vector which indicates which types to plot: 1 indicates scatter plot, 2 indicates QQ-plot, 3 indicates density plot, and 4 indicates relative density plot (with standard normal distribution served as the base)

Details

density function is used to compute the empirical density. reldist function in {reldist} is used to compute the relative density.

See Also

tranR

Examples

Run this code
## Not run: 
# require(reldist)
# plot_etran(rnorm(200), fig=c(1,4))   ## End(Not run)

Run the code above in your browser using DataLab