mean_df: mean_df

Description Usage Arguments Value

View source: R/graph.R

Description

function returning the mean value of a data frame

Usage

1
mean_df(dataframe = NULL, granularity_mean = "Day", birthdate = NULL)

Arguments

dataframe

The dataframe from which you want to calculate the mean. It must have a Time column and the numeric column from which you want to have the mean.

granularity_mean

The granularity at which you want to calculate the mean. Must be Day or Week. Defaut is Day

birthdate

The birthdate of the child. If NULL we assume that this is the first day of the dataframe. Defaut is NULL

Value

mean_df the new dataframe containing the mean values


jcorain/NewBoRn documentation built on Feb. 2, 2021, 11:50 a.m.