waterfall_plot: waterfall plot

View source: R/waterfall_plot.R

waterfall_plotR Documentation

waterfall plot

Description

subj x age plot: line-per-subject dot-per-age ordered by age at first visit

Usage

waterfall_plot(d, ...)

Arguments

d

dataframe with columns id (repeated) and age

...

additional aesthetics

Examples

 d <- data.frame(age=c(10,20,25,13,14,NA), id=c(100,100,100, 200,200,100))
 p <- waterfall_plot(d)
 print(p)

LabNeuroCogDevel/LNCDR documentation built on Oct. 13, 2023, 4:31 a.m.