50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

lifelogr (version 0.1.0)

Life Logging

Description

Provides a framework for combining self-data (exercise, sleep, etc.) from multiple sources (fitbit, Apple Health), creating visualizations, and experimenting on onself.

Copy Link

Version

Install

install.packages('lifelogr')

Monthly Downloads

71

Version

0.1.0

License

GPL (>= 2)

Maintainer

Lisa Ann Yu

Last Published

May 12th, 2017

Functions in lifelogr (0.1.0)

correlation

Correlation between each variable vs each measure
create_dataset

Creates a dataset across data sources in a Person object
agg_sleep_weekday

A function to preprocess sleep data for the Person object.
compare_groups

Prints statistics on dataset, grouped by group assignments
l_anova

ANOVA test to assess impact of all variables (together) upon each measure
l_plot

Plot each variable vs each measure of interest
experiment

Do the specified analysis of the impact of the variables on the measure
get_hr_zones

Calculate Heart Rate Zones.
EX

A subset of the data for one user for about one month, from 2017-01-19 to
Person

A
plot_cal

Plot calories over time.
plot_d

Line graph for continuous variable(s).
plot_i

Line graph for a single continuous variable.
plot_i_distance

Plot distance over time.
l_regression

Performs linear regression with all variables and interactions upon each measure
lifelogr

lifelogr: A package for life logging in R.
plot_sleep

Plot sleep.
plot_sleep_all

Plot a series of six sleep graphs.
plot_sleep_over_time

A function to plot sleep over time.
plot_sleep_quality

A function to plot sleep quality over time.
plot_steps

Plot steps per day over time.
tidy_multi_meas_data

Tidy daily data.
plot_daily

Plot daily health totals.
plot_daily_all

Plot a series of six graphs.
plot_intraday

Switch table to plot intraday variables.
plot_intraday_all

Plot all intraday variables.
plot_sleep_start_end

A function to plot sleep each night by start time and end time.
plot_sleep_weekday

A function to plot sleep by day of week.
lifelogrApp

Run the Shiny app.
merge_lists

Merge a list of lists into one list
plot_sleep_restless_min

A function to plot the minutes of restless sleep over time.
plot_sleep_restless_prop

A function to plot the proportion of restless sleep over time.
plot_distance

Plot distance per day over time.
plot_floors

Plot number of floors per day over time.
plot_mins_very

Plot minutes 'very active' over time.
plot_rest_hr

Plot resting heart rate over time.