Misc functions useful for my PhD.
calc_vsp calculates VSP using the method outlined in CONOX Task 1 / Davison 2020, intended for use with remote sensing data sets.
segment_veh uses the decision tree in Davison 2020 to put cars and vans into vehicle segments.
cor_df takes a dataframe and creates pairwise correlations between columns, which can then be used to plot networks and the like.
calendarify takes a dataframe of temporal measurements (daily resolution or greater), finds daily averages of all numeric variables, and separates the date into individual components - day of the week, week of the year, etc. - in preparation for producing a calendar plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.