R/n_results.R

Defines functions results_

#' Getting cursor results from a series 
#'
#' @param . the series object to calculate on
#' @name resultsmethods
NULL

#' @describeIn resultsmethods
#' get all cursor results, including those that are only used for internal calculations
#' @export
results_<-function(.){
  .$sweeps<-calculate.cursors(.$sweeps)
  .$sweeps$results2
}

#' @describeIn resultsmethods
#' get most cursor results, but omit those that are only used for internal calculations 
#' @export
results<-function(.){
  results<-.$results_()
  if(!is.null(results))
    #results<-select(results,-matches("\\.x"))
    results
}
tdanker/ephys2 documentation built on Aug. 11, 2019, 12:12 p.m.