tests/testthat/test-designmatrix.R

context("design matrix")
library(breakaway)
library(phyloseq)
data(GlobalPatterns)
test_that("sample size estimate works", {
  expect_is(make_design_matrix(GlobalPatterns, "SampleType"), "matrix")
})

Try the breakaway package in your browser

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

breakaway documentation built on Nov. 22, 2022, 5:08 p.m.