weight_graph: weight_graph

Description Usage Arguments Value Examples

View source: R/graph.R

Description

function to plot the weight vs date

Usage

1
weight_graph(dataframe = NULL, birthdate = NULL)

Arguments

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

Value

graphic plotly object

Examples

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)

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