pl.3txtgg: Scatter plot with text overlay with ggplot2

Description Usage Arguments Examples

View source: R/pl.3txtgg.R

Description

Generate a scatter plot with text overlay with ggplot2. This plot is to better show the effect of the text variable in the domain of x and y variable.

Usage

1
pl.3txtgg(x,y,txt,size,title,xlab,ylab)

Arguments

x

:a numeric vector

y

:a numeric vector

txt

:a vector used as labels

size

:text size, which default is set as 3

title

:title of the graph

xlab

:x-axis label

ylab

:y-axis label

Examples

1
pl.3txtgg(mtcars[,1], mtcars[,3], row.names(mtcars), 3,"mpg v. cyl", "mpg", "cyl")

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to pl.3txtgg in YRmisc...