R/tdsc-class.R

#' An S4 class to hold results from TDSC
#'
#' @slot raw Two column vector of Durations and Shapes
#' @slot positive Identify non-negative sections
#' @slot codelist Vector of sequential epoch codings
#' @slot b_matrix The basic matrix
#' @slot c_matrix The coding matrix
#' @slot s_matrix The S-matrix
#' @slot a_matrix The A-matrix
#' @slot sample_count The number of samples in the waveform
#' @slot epoch_count The number of identified epochs
#' @slot stdsc Statistical TDSC feature vector
#'
#' @export
#'
setClass("tdsc",
         slots=list(
           raw="matrix",
           positive="numeric",
           codelist="numeric",
           b_matrix="matrix",
           c_matrix="matrix",
           s_matrix="matrix",
           a_matrix="matrix",
           sample_count="numeric",
           epoch_count="numeric",
           stdsc="list"
         ))

Try the tdsc package in your browser

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

tdsc documentation built on July 9, 2023, 6 p.m.