box_plot: Boxplot

Description Usage Arguments Value Examples

View source: R/plots.R

Description

Boxplot

Usage

1
box_plot(data, xvar, yvar, xlab = "", ylab = "", facet = FALSE)

Arguments

data

Cleaned data

xvar

Variable on x-axis

yvar

Variable on y-axis

xlab

x-axis label

ylab

y-axis label

facet

Split the plot by visit number

Value

Plot

Examples

1
2
3
4
5
6
7
ds %>%
  filter(fVN == "Baseline") %>%
  select(acrStatus, udbpCrRatio) %>%
  na.omit() %>%
  box_plot("acrStatus", "log(udbpCrRatio)",
           "Albuminuria",
           "log uVDBP:Creatinine")

windyzn/urinaryDBP documentation built on May 4, 2019, 6:32 a.m.