inst/tinytest/test-plot_loglike.r

# context("plot_LogLike")

# test_that("plotll", {
  set.seed(1)
  dat <- raphylo(20)
  
  # aphylo method
  expect_true(is.null(plot_logLik(dat)))

  # phylo_mle method
  ans <- suppressWarnings(aphylo_mle(dat ~ mu_d + psi))
  expect_true(is.null(plot_logLik(ans)))
  
# })

Try the aphylo package in your browser

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

aphylo documentation built on April 4, 2025, 2:18 a.m.