Package: wearables 0.8.1

Peter de Looff

wearables: Tools to Read and Convert Wearables Data

Package to read Empatica E4 data, perform several transformations, perform signal processing and analyses, including batch analyses.

Authors:Peter de Looff [aut, cre], Remko Duursma [aut], Saskia Koldijk [aut], Kees de Schepper [aut], Matthijs Noordzij [ctb], Natasha Jaques [ctb], Sara Taylor [ctb]

wearables_0.8.1.tar.gz
wearables_0.8.1.tar.gz(r-4.5-noble)wearables_0.8.1.tar.gz(r-4.4-noble)
wearables_0.8.1.tgz(r-4.4-emscripten)wearables_0.8.1.tgz(r-4.3-emscripten)
wearables.pdf |wearables.html
wearables/json (API)

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

Peer review:

Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.90 score 1 stars 16 scripts 158 downloads 26 exports 136 dependencies

Last updated 3 years agofrom:3d917a4efe. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 26 2024
R-4.5-linuxOKNov 26 2024

Exports:aggregate_e4_dataas_timeas_timeseriesbatch_analysiscalculate_RMSSDchar_clock_systimechoose_between_classescompute_features2create_e4_output_foldere4_filecut_intervalsfilter_createdir_zipfilter_e4data_datetimefind_peaksibi_analysispad_e4plot_artifactspredict_binary_classifierpredict_multiclass_classifierprepend_time_columnprocess_e4process_edarbind_e4read_and_process_e4read_e4upsample_data_to_8Hzwrite_processed_e4

Dependencies:abindaskpassbackportsbase64encBHbootbroombslibBWStestcachemcallrcheckmateclicodetoolscolorspacecpp11crosstalkcurldata.tabledescdigestdistributionaldoParalleldplyrevaluatefansifarverfastmapfontawesomeforeachformatRFormulafsfutile.loggerfutile.optionsgenericsggplot2gluegmpgridExtragtablehighrhtmltoolshtmlwidgetshttrinlineisobanditeratorsjquerylibjsonlitekernlabknitrkSampleslabelinglambda.rlaterlatticelazyevallifecyclelombloolubridatemagrittrMASSMatrixmatrixStatsmemoisemgcvmimemultcompViewmultitapermunsellmvtnormnlmenonlinearTseriesnumDerivopensslpadrpillarpkgbuildpkgconfigplotlyplotrixPMCMRplusposteriorpracmaprocessxpromisespspurrrquadprogquantmodQuickJSRR.methodsS3R.ooR.utilsR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRHRVrlangrmarkdownRmpfrrstansassscalessegmentedsignalStanHeadersstringistringrSuppDistssystensorAtibbletidyrtidyselecttimechangetinytextseriesTTRutf8varianvctrsviridisLitewaveslimwithrwritexlxfunxtsyamlzoo

Readme and manuals

Help Manual

Help pageTopics
Addition of chunk groupsadd_chunk_group
Aggregate E4 data into 1min timestepsaggregate_e4_data
as_timeas_time
Convert an E4 data stream to a timeseriesas_timeseries
Batch analysisbatch_analysis
Configuration of the SVM algorithm for binary classificationbinary_classifier_config
RMSSD calculationcalculate_RMSSD
Force character datetime variable ("yyyy-mm-dd hh:mm:ss") to system timezonechar_clock_systime
Choice between two classeschoose_between_classes
Amplitude featurescompute_amplitude_features
Derivative featurescompute_derivative_features
Features computationcompute_features2
Wavelet coefficientscompute_wavelet_coefficients
Wavelet decompositioncompute_wavelet_decomposition
Output foldercreate_e4_output_folder
Filter datasets for a Datetime start + ende4_filecut_intervals
Function to filter the data object based on the time period and intervals that are needed for the files to be cut. The function also creates identical Empatica E4 zipfiles in the same directory as where the original zipfile is located.filter_createdir_zip
Filter all four datasets for a Datetime start + endfilter_e4data_datetime
Function to find peaks of an EDA datafilefind_peaks
Peak amplitudeget_amp
Get the eda apex of the signalget_apex
Decay timeget_decay_time
First derivativeget_derivative
Electrodermal activity signal derivativeget_eda_deriv
Half peak ampget_half_amp
Half rise timeget_half_rise
Decaying peaksget_i_apex_with_decay
SVM kernelget_kernel
Maximum derivativeget_max_deriv
Peak endget_peak_end
Peak end timesget_peak_end_times
Start of peaksget_peak_start
Peak start timesget_peak_start_times
Rise time of peaksget_rise_time
Peak widthget_SCR_width
Second derivativeget_second_derivative
IBI analysisibi_analysis
Max value per segment of length nmax_per_n
Configuration of the SVM algorithm for ternary classificationmulticlass_classifier_config
pad_e4pad_e4
Artifact plotsplot_artifacts
Binary classifierspredict_binary_classifier
Ternary classifierspredict_multiclass_classifier
prepend_time_columnprepend_time_column
Show class of objectprint.e4data
Process EDA dataprocess_eda
Row-bind E4 datasetsrbind_e4
Read, process and feature extraction of E4 dataprocess_e4 read_and_process_e4
Read E4 dataread_e4
Small peaks removalremove_small_peaks
Upsample EDA data to 8 Hzupsample_data_to_8Hz
Write CSV files of the outputwrite_processed_e4