#' Get voltage average from 0 for sweeps
#'
#'
#' @param x numeric vector
#' @param r range of samples to calculate mean from
#'
#' @export
vmAvg <- function(x, r = 1:1000) {
zD <- mean(x[r])
return(zD)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.