tests/testthat/test-summarize_growth_model_mixed.R

test_that("Returns a list object", {
  data("exp_mixed_data")
  growth_model <- growth_curve_model_fit(
    data_frame = exp_mixed_data,
    model_type = "mixed",
    function_type = "exponential",
    return_summary = FALSE)
  summary_growth_m <- summarize_growth_model_mixed(data_frame = exp_mixed_data,
                                                   mixed_growth_model  = growth_model,
                                                   function_type = "exponential")
  expect_type(summary_growth_m, "list")
  expect_length(summary_growth_m, 4)
})

Try the GrowthCurveME package in your browser

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

GrowthCurveME documentation built on April 12, 2025, 2:23 a.m.