Learn R Programming

visxhclust (version 1.1.0)

line_plot: A custom line plot with optional vertical line

Description

A custom line plot with optional vertical line

Usage

line_plot(df, x, y, xintercept = NULL)

Value

a ggplot2::ggplot object

Arguments

df

data source

x

variable for horizontal axis

y

variable for vertical axis

xintercept

optional value in horizontal axis to highlight