pl.3smoothtxtgg: Scatter smooth plot with text overlay using ggplot2

Description Usage Arguments Examples

View source: R/pl.3smoothtxtgg.R

Description

Generate a scatter plot with text overlay, with a smooth curve fitted by loess.

Usage

1
pl.3smoothtxtgg(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

:graph title

xlab

:x-axis label

ylab

:y-axis label

Examples

1
pl.3smoothtxtgg(mtcars[,1], mtcars[,3], row.names(mtcars), 3, "MPG v. DISP","mpg","disp")

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