Releases: danielvartan/actverse
Releases · danielvartan/actverse
actverse 0.2.0
- Changed
read_acttrust()to handle special characters in the input files more robustly. It now reads the file content, removes any special characters, and then writes it to a temporary file before processing. This ensures that the function can handle files with special characters without errors. - Changed
sri()parameters. Now the function has amin_dataparameter, which specifies the minimum proportion of non-missing values required to compute the SRI for each time point. If the proportion of non-missing values is below this threshold, the SRI will be set toNAfor that time point. This helps to avoid computing the SRI when there is insufficient data. Note that the first agreement value is alwaysNAbecause there is no previous day for comparison, hence it is not treated as missing data. - Changed
sri()output. Now the function returns avalid_datacolumn, which indicates the proportion of non-missing values in theagreementcolumn for each time point. This provides additional information about the data quality used to compute the SRI. - Changed
sri()default parameter values. Now the function has different default values forsleeping_statesandawake_states. The new defaults aresleeping_states = c(1, 2)andawake_states = 0. The previous defaults weresleeping_states = 1andawake_states = c(0, 2), which considered resting states as awake, differing from the way that the index was originally computed. - Changed
state_prop()default values. Now the function has a default value ofc(1, 2)forstate_values, which considers both sleeping and resting states (for Condor Instruments actigraphy data) as the target states for calculating the proportion. The previous default was1, which only considered the sleeping state. - Changed
state_prop()defensive programming. Now the function accepts cases when a specific value instate_valuesis not present in the data. - Changed charts typefaces, colors and text casing, for better aesthetics and readability.
- Changed package license from MIT to GPLv3.
- Changed the Hex logo, removing the package name from the images.
- Updated the Code of Conduct to the Contributor Covenant 3.0.
- Updated documentation and examples to reflect the changes in function arguments and behavior.
- Update package dependencies to their latest versions.
actverse 0.1.0
First release. 🎉