calendarify: "Calendaryify" Data

Description Usage Arguments Value

View source: R/calendarify.R

Description

This function calculates daily mean values for every numeric column in a data frame, and adds useful calendar data such as the day of the week, the month, etc. A useful purpose of this could be plotting calendar plots using ggplot().

Usage

1
calendarify(df, date_col = "date")

Arguments

df

A data frame.

date_col

A character string indicating the date column. Defaults to "date".

Value

A data frame of daily mean


jack-davison/jdavisonmisc documentation built on Jan. 1, 2021, 4:26 a.m.