Description Usage Arguments Value Examples
Graph to survey milk feeding versus time
1 2 3 4 5 6 | milk_feeding_graph(
dataframe = NULL,
granularity = "Hour",
mean_plot = FALSE,
birthdate = NULL
)
|
dataframe |
The dataframe containing the data you want to use |
granularity |
The granularity you want to use. For the moment it is hour or day. |
mean_plot |
Boolean to plot mean with granularity one step higher than the asked one. |
birthdate |
The birthdate of the child. If NULL we assume that this is the first day of the dataframe. Defaut is NULL |
graphic plotly object
1 2 3 4 | dummy_data <- utils::read.csv(file.path(system.file("extdata", package = "NewBoRn"),
"dummy_data.csv"))
dummy_data <- dplyr::select(.data = dummy_data, -X)
milk_feeding_graph(dataframe = dummy_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.