Package: realTimeloads 1.0.1

realTimeloads: Analyte Flux and Load from Estimates of Concentration and Discharge

Flux (mass per unit time) and Load (mass) are computed from timeseries estimates of analyte concentration and discharge. Concentration timeseries are computed from regression between surrogate and user-provided analyte. Uncertainty in calculations is estimated using bootstrap resampling. Code for the processing of acoustic backscatter from horizontally profiling acoustic Doppler current profilers is provided. All methods detailed in Livsey et al (2020) <doi:10.1007/s12237-020-00734-z>, Livsey et al (2023) <doi:10.1029/2022WR033982>, and references therein.

Authors:Daniel Livsey [aut, cre, cph]

realTimeloads_1.0.1.tar.gz
realTimeloads_1.0.1.zip(r-4.5)realTimeloads_1.0.1.zip(r-4.4)realTimeloads_1.0.1.zip(r-4.3)
realTimeloads_1.0.1.tgz(r-4.4-any)realTimeloads_1.0.1.tgz(r-4.3-any)
realTimeloads_1.0.1.tar.gz(r-4.5-noble)realTimeloads_1.0.1.tar.gz(r-4.4-noble)
realTimeloads_1.0.1.tgz(r-4.4-emscripten)realTimeloads_1.0.1.tgz(r-4.3-emscripten)
realTimeloads.pdf |realTimeloads.html
realTimeloads/json (API)
NEWS

# Install 'realTimeloads' in R:
install.packages('realTimeloads', repos = c('https://dlivsey.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/dlivsey/realtimeloads/issues

Datasets:
  • ExampleData - Example data used to demonstrate computation of real-time sediment loads from horizontal acoustic Doppler current profiler

On CRAN:

4.00 score 7 scripts 222 downloads 17 exports 98 dependencies

Last updated 12 months agofrom:8af336aee4. Checks:OK: 5 ERROR: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 23 2024
R-4.5-winOKNov 23 2024
R-4.5-linuxOKNov 23 2024
R-4.4-winOKNov 23 2024
R-4.4-macERRORNov 23 2024
R-4.3-winOKNov 23 2024
R-4.3-macERRORNov 23 2024

Exports:acoustic_backscatter_processingattenuation_of_sound_by_waterbootstrap_regressionbutterworth_tidal_filtercompute_loadctd2salestimate_timeseriesExampleCodeExampleCodeSCIhADCPLoadsimport_dataimpute_dataimpute_data_with_arimalinear_interpolation_with_time_limitnear_field_correctionspeed_of_soundsurrogate_to_analyte_interpolation

Dependencies:backportsbitbit64bootbroomclicliprcodetoolscolorspacecommonmarkcpp11crayoncurldata.tabledplyrfansifarverforcatsforeachforecastfracdiffgenericsggplot2ggtextglmnetgluegridtextgtablehavenhmsimputeTSisobanditeratorsjomojpegjsonlitelabelinglatticelifecyclelme4lmtestmagrittrmarkdownMASSMatrixmgcvmiceminqamitmlmunsellnlmenloptrnnetnumDerivordinalpanpillarpkgconfigpngprettyunitsprogresspurrrquadprogquantmodR6RColorBrewerRcppRcppArmadilloRcppEigenreadrrlangrpartscalesshapesignalstinepackstringistringrsurvivaltibbleTideHarmonicstidyrtidyselecttimeDatetseriesTTRtzdbucminfurcautf8vctrsviridisLitevroomwithrxfunxml2xtszoo

realTimeloads

Rendered fromrealTimeloads.Rmdusingknitr::rmarkdownon Nov 23 2024.

Last update: 2023-11-10
Started: 2023-10-12

Readme and manuals

Help Manual

Help pageTopics
Process acoustic backscatter from hADCPacoustic_backscatter_processing
Compute attenuation of sound in water given frequency, temperature, and salinityattenuation_of_sound_by_water
Regression parameters estimated using bootstrap resamplingbootstrap_regression
Return non-tidal signal in data after Rulh and Simpson (2005)butterworth_tidal_filter
Compute load with uncertainty on concentration estimatescompute_load
Compute salinity (PSU) from conductivity, water temperature, and depthctd2sal
Compute timeseries with uncertainty from bootstrap regressionestimate_timeseries
Computes sediment load per guideline from ExampleDataExampleCode
Computes sediment load from optical and acoustic backscatter measurementsExampleCodeSCI
Example data used to demonstrate computation of real-time sediment loads from horizontal acoustic Doppler current profiler (hADCP)ExampleData
Compute sediment load per guideline using acoustic backscatter from processed hADCP datahADCPLoads
Load data from comma-delimited .txt files to list to be used in function hADCPLoads()import_data
Returns x with gaps imputed using ARIMA and Decision Trees, optional uncertainty estimation using Monte Carlo resamplingimpute_data
Returns x with gaps imputed using forecast::auto.arima with optional uncertainty estimation using Monte Carlo resamplingimpute_data_with_arima
Linearly interpolate timeseries time(x) onto new timesetep tilinear_interpolation_with_time_limit
Near-field correction of Downing et al (1995)near_field_correction
Compute speed of sound in water given salinity, temperature, and depthspeed_of_sound
Interpolate timeseries x(tx) onto y(ty)surrogate_to_analyte_interpolation