tests/testthat/test-betareg.R

test_that("limited support of 'identity' link for precision parameter of betareg",{
  library(betareg)
  data("GasolineYield", package = "betareg")
  fit_beta <- betareg(yield ~ batch + temp | temp, link.phi = "identity", data = GasolineYield)
  expect_error(ib(fit_beta))
})

Try the ib package in your browser

Any scripts or data that you put into this service are public.

ib documentation built on April 5, 2022, 1:13 a.m.