test_beddit: Estimate bedtimes and compare to reported bedtimes

View source: R/test_beddit.R

test_bedditR Documentation

Estimate bedtimes and compare to reported bedtimes

Description

Estimate bedtimes and compare to reported bedtimes

Usage

test_beddit(timebins, model, bedtimes, threshold = 0.25)

Arguments

timebins

circadian fingerpints of users

model

an idealized model of circadian posting

bedtimes

reported bedtimes of users

threshold

how good a fit required to output result

Value

a data frame containing both reported and inferred bedtimes

Examples

test_beddit(validation_binned_local, default_model, validation_reportedbedtimes)

WillMeyerson/BEDDiT documentation built on Feb. 2, 2023, 6:37 p.m.