pl.3smoothtxtgg {YRmisc} | R Documentation |
Scatter smooth plot with text overlay using ggplot2
Description
Generate a scatter plot with text overlay, with a smooth curve fitted by loess.
Usage
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
pl.3smoothtxtgg(mtcars[,1], mtcars[,3], row.names(mtcars), 3, "MPG v. DISP","mpg","disp")
[Package YRmisc version 0.1.6 Index]