diff --git a/R/preprocessing.R b/R/preprocessing.R index c328a61..4b18a16 100644 --- a/R/preprocessing.R +++ b/R/preprocessing.R @@ -32,7 +32,7 @@ autoBandPassFilter <- function( plot=F ){ #If max_freq not set then use half of sample rate - if (is.null(max_freq) { + if (is.null(max_freq)) { max_freq <- wave@samp.rate / 2 }