tests/testthat/test_reformat_DATLAB.R

library(emotivepilepsy)
test_that("reformat_DATLAB reformats the dataframes eegdata and eegdatalabels", {
  data(data.eeg)
  data(data.labels)
  RDL = reformat_DATLAB(data.eeg,data.labels,aggregateperid=TRUE)
  expect_that(RDL$DAT,is_a("data.frame"))
})
NLeSC/EEG-epilepsy-diagnosis documentation built on May 7, 2019, 6:02 p.m.