NEWS.md
Add a new input argument use_snapshot_to_check to mims_unit() to configure the data used to check duplicated timestamps.
Enable has_ts argument in import_actigraph_csv() and import_actigraph_csv_chunked() functions. Now the timestamps will be computed based on the sampling rate and start time in the actigraph csv header.
mims_unit(). Use diff function to accelerate the computation (@vincentvanhees).rest_on_table sample data to remove duplicated timestamps in it.import_actigraph_csv() and import_actigraph_csv_chunked() functions no longer support has_ts flag. Users should always ensure input data have timestamps in the first column. Note that for versions <=0.9.2, always make sure the input raw accelerometer data includes timestamps in the first column and set has_ts to TRUE when using import_actigraph_csv() and import_actigraph_csv_chunked() functions to avoid a known bug.
export_to_actilife() and conceptual_diagram vignette to be compatible with newer versions of readr and plyr packages.mims_unit() functions in a shiny app.shiny_app() to start a local shiny app that allows users to load local files to compute mims unit values and provides an interactive graph to view the computed values.vignette("datasets").import_mhealth_csv().has_ts to False when there are only three columns in the input data in import_actigraph_csv().custom_mims_unit().extrapolate() and mims_unit().import_actigraph_csv_chunked().import_actigraph_csv_chunked() and import_mhealth_csv_chunked() to support loading large csv files in chunks. See issue #11.mims_unit_from_files() to support large input files.vector_magnitude() and sum_up() functions.show_progress is discarded in top-level mims_unit() functions. Use use_gui_progress instead.mims_unit() functions. Use show_progress to control whether to show progress bar during computation.mims_unit_from_files().generate_interactive_plot().MIMSunit-dataset-shaker as submodule.mims_unit().sensor_orientations() is Added as an entry function to compute sensor orientations.mims_unit() is simplified to not allow customization on parameters.mims_unit() is now custom_mims_unit(), which allows full tuning of algorithm parameters.extrapolate.R, interpolate.R and simulate_data.R.crop_grange() is now cut_off_signal()
make_new_data() is now simulate_new_data()
extrapolate.data.frame() is now extrapolate()
extrapolate() is now extrapolate_single_col()
NEWS.md file to track changes to the package.import_data.R file.import_actigraph_raw() is now import_actigraph_csv()
import_actigraph_count() is now import_actigraph_count_csv()
import_biobank_enmo() is now import_enmo_csv()
import_activpal_raw() is now import_activpal3_csv()