View source: R/estimate_bedtimes.R
compared_inferred_to_reported_bedtimes | R Documentation |
compare inferred to reported bedtimes
compared_inferred_to_reported_bedtimes( reported_bedtimes, inferred_bedtimes, threshhold = 0.25 )
reported_bedtimes |
a data frame where each row contains a username and a reported bedtime |
inferred_bedtimes |
a data frame where each row contains a username and an inferred bedtime |
threshhold |
the minimum correlation between circadian fingerprint and best-matching ideal model, deault 0.25 |
a data frame that includes reported_bedtimes and inferred_bedtimes for each user
my_bedtimes <- data.frame(author=c(1,2), nightbed=c(-1, 1)) inferred_bedtimes <- data.frame(author=c(1,2), inferred_bedtime=c(-1.5, 0.75), cor=c(0.5,0.5)) compared_inferred_to_reported_bedtimes(my_bedtimes, inferred_bedtimes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.