Package: wearables 0.11.3

Peter de Looff

wearables: Tools to Read and Convert Wearables Data

Package to read Empatica E4, Embrace Plus, and Nowatch 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], Veerle van Leemput [ctb]

wearables_0.11.3.tar.gz
wearables_0.11.3.zip(r-4.7)wearables_0.11.3.zip(r-4.6)wearables_0.11.3.zip(r-4.5)
wearables_0.11.3.tgz(r-4.6-any)wearables_0.11.3.tgz(r-4.5-any)
wearables_0.11.3.tar.gz(r-4.7-any)wearables_0.11.3.tar.gz(r-4.6-any)
wearables_0.11.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
wearables/json (API)
NEWS

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

Bug tracker:https://github.com/cranhaven/cranhaven.r-universe.dev/issues

Datasets:

On CRAN:

Conda:

archivedpackagesr-universe

2.70 score 5 stars 20 scripts 566 downloads 41 exports 139 dependencies

Last updated from:e3f5bdf358 (on package/wearables). Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK288
source / vignettesOK302
linux-release-x86_64OK283
macos-release-arm64OK165
macos-oldrel-arm64OK132
windows-develOK243
windows-releaseOK236
windows-oldrelOK233
wasm-releaseOK175

Exports:aggregate_dataaggregate_e4_dataaggregate_embrace_plus_dataaggregate_nowatch_dataas_timeas_timeseriesbatch_analysiscalculate_RMSSDchar_clock_systimechoose_between_classescompute_features2create_e4_output_foldercreate_empty_freq_listcreate_empty_time_liste4_filecut_intervalsfilter_createdir_zipfilter_datetimefilter_e4data_datetimefilter_embrace_plus_data_timestampfind_peaksibi_analysisibi_analysis_oldjoin_eda_binpad_e4plot_artifactspredict_binary_classifierpredict_multiclass_classifierprepend_time_columnprocess_e4process_edaprocess_embrace_plusrbind_e4rbind_embrace_plusrbind_nowatchread_and_process_e4read_and_process_embrace_plusread_e4read_embrace_plusread_nowatchupsample_data_to_8Hzwrite_processed_e4

Dependencies:abindaskpassbackportsbase64encBHblobbootbroombslibBWStestcachemcallrcheckmateclicodetoolsconfigcpp11crosstalkcurldata.tableDBIdbplyrdescdigestdistributionaldoParalleldplyrevaluatefarverfastmapfontawesomeforeachFormulafsgenericsggplot2globalsgluegmpgridExtragtablehighrhtmltoolshtmlwidgetshttrinlineisobanditeratorsjquerylibjsonlitekernlabknitrkSampleslabelinglaterlatticelazyevallifecyclelombloolubridatemagrittrMASSMatrixmatrixStatsmemoisemimemultcompViewmultitapermvtnormnlmenonlinearTseriesnumDerivopensslotelpadrpillarpkgbuildpkgconfigplotlyplotrixPMCMRplusposteriorpracmaprocessxpromisespspurrrquadprogquantmodQuickJSRR.methodsS3R.ooR.utilsR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRHRVrlangrmarkdownRmpfrrstanrstudioapiS7sassscalessegmentedsignalsparklyrStanHeadersstringistringrSuppDistssystensorAtibbletidyrtidyselecttimechangetinytextseriesTTRutf8uuidvarianvctrsviridisLitewaveslimwithrwritexlxfunxml2xtsyamlzoo

Readme and manuals

Help Manual

Help pageTopics
Addition of chunk groupsadd_chunk_group
Aggregate data into timestepsaggregate_data aggregate_e4_data aggregate_embrace_plus_data aggregate_nowatch_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
Compute Features for SVMcompute_features2
Wavelet coefficientscompute_wavelet_coefficients
Wavelet decompositioncompute_wavelet_decomposition
Output foldercreate_e4_output_folder
Create an Empty Frequency Listcreate_empty_freq_list
Create an Empty Time Listcreate_empty_time_list
Small example dataset for e4e4_data
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 data according to a datetime start and endfilter_datetime filter_e4data_datetime filter_embrace_plus_data_timestamp
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 analysis version 2ibi_analysis
IBI analysis (Old version)ibi_analysis_old
Join EDA Binary Classifier Output to Datasetjoin_eda_bin
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
Row-bind Embrace Plus datasetsrbind_embrace_plus
Row-bind NOWATCH datasetsrbind_nowatch
Read, process and feature extraction of E4 dataprocess_e4 process_embrace_plus read_and_process_e4
Read, process and feature extraction of Embrace Plus dataread_and_process_embrace_plus
Read E4 dataread_e4
Read Embrace Plus dataread_embrace_plus
Read Nowatch dataread_nowatch
Small peaks removalremove_small_peaks
Upsample EDA data to 8 Hzupsample_data_to_8Hz
Write CSV files of the outputwrite_processed_e4