Description Usage Arguments Value Examples
function to plot the weight vs date
1 | weight_graph(dataframe = NULL, birthdate = NULL)
|
dataframe |
The dataframe contaning the dat you want to use |
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)
weight_graph(dataframe = dummy_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.