View source: R/model_bedtimes.R
idealXreal_compare | R Documentation |
Plots unified model vs observed posting frequencies
idealXreal_compare(obsFreq, idealFreq)
obsFreq |
data frame with columns relhour and obsFreq, which gives Reddit posting frequency in observed data |
idealFreq |
data frame with columns relhour and idealFreq, which gives Reddit posting frequency in unified idealized model |
plotting function
rh <- seq(-8,15.75,0.25) obsFreq <- data.frame(relhour=rh, obsFreq=(rh/15)^2+runif(96)/10) idealFreq <- data.frame(relhour=rh, idealFreq=(rh/15)^2) idealXreal_compare(obsFreq, idealFreq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.