tests/testthat/test-df_sem.R

test_that("t-test-one-sample output", {
  expect_length(df_sem(dplyr::group_by(color_index, roi_id), color_index), 5)
  expect_equal(
    NROW(t_test_one_sample(dplyr::group_by(color_index, roi_id), color_index)),
    8
  )
})

Try the roistats package in your browser

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

roistats documentation built on March 11, 2021, 1:07 a.m.