diff --git a/README.Rmd b/README.Rmd index 2d0d6d8..abb3ef5 100644 --- a/README.Rmd +++ b/README.Rmd @@ -55,7 +55,7 @@ ncores <- detectCores() registerDoParallel(cores = ncores - 1) # run the function -evalcor(SAPDC, tz, lat, long, progress = TRUE) +evalcor(SAPDC, tz, lat, long) ``` The `wtreg` function can be used to detide the dissolved oxygen time series. The example below demonstrates detiding, following by a comparison of ecosystem metabolism using the observed and detided data. @@ -72,7 +72,7 @@ lat <- 31.39 long <- -81.28 # weighted regression, optimal window widths for SAPDC from the paper -wtreg_res <- wtreg(SAPDC, parallel = TRUE, wins = list(3, 1, 0.6), progress = TRUE, +wtreg_res <- wtreg(SAPDC, parallel = TRUE, wins = list(3, 1, 0.6), tz = tz, lat = lat, long = long) # estimate ecosystem metabolism using observed DO time series