Description Usage Arguments Value Examples
Function to plot lactation vs time
1 | lactation_graph(dataframe = NULL, granularity = "Hour", 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. |
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)
lactation_graph(dataframe = dummy_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.