autoplot.saehb {saeHB.unit}R Documentation

Autoplot

Description

Autoplot

Usage

## S3 method for class 'saehb'
autoplot(object, ...)

Arguments

object

HB model

...

other argument

Value

plot

Examples

library(dplyr)

Xarea <- cornsoybeanmeans %>%
   dplyr::select(
      County = CountyIndex,
      CornPix = MeanCornPixPerSeg,
      SoyBeansPix = MeanSoyBeansPixPerSeg
   )

corn_model <- hb_unit(
   CornHec ~ SoyBeansPix + CornPix,
   data_unit = cornsoybean,
   data_area = Xarea,
   domain = "County",
   iter.update = 20,
   plot = FALSE
)
autoplot(corn_model)


[Package saeHB.unit version 0.1.0 Index]