Skip to contents

autoplot() methods for the results of VetResearchLMM; plot() draws the same figures. A fit shows its residuals (which = "residuals", "qq" or "observed"); least-squares means and estimates show their confidence limits; predictions of random effects are drawn as a caterpillar plot; a comparison shows the information criteria.

Usage

autoplot.vlm_result(object, which = NULL, ...)

Arguments

object

a result of a function of the package.

which

for vlm_fit() results, "residuals" (default), "qq" or "observed".

...

not used.

Value

A ggplot object.

Author

Muhammad Yaseen (myaseen208@gmail.com)

Examples

fs <-
  vlm_fit(
      fixed    = Ww ~ 1
    , data     = ex127
    , random   = ~ sire
    , repeated = NULL
    , method   = "REML"
    , ddfm     = "default"
    , type     = 3
    , class    = NULL
    , bound    = TRUE
    , control  = list()
    )
ggplot2::autoplot(
    object = vlm_blup(
        fit   = fs
      , level = 0.95
      )
  )
#> `height` was translated to `width`.